I have a four sided cardboard box that lays flat.
Through Assembly 4 - Animate Assembly I can get this box to open up 90 degrees.
I have attached a small tab to the short edge, and it moves as the box is opened.
After the box is fully opened I wish to swing this tab 90 degrees, as shown on screen shot.
I have tried adding an Assembly 4 - Variable to the Small Tab Sketch angle but this does not work!
Is there another way to get the small tab rotating 90 degrees?
Assembly 4 - Double Movement
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Assembly 4 - Double Movement
- Attachments
-
- Tab Open.png (12.35 KiB) Viewed 1105 times
-
- Packet Tab Open.FCStd
- (61.95 KiB) Downloaded 48 times
Re: Assembly 4 - Double Movement
Code: Select all
OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.21.31058 (Git)
Build type: Release
Branch: master
Hash: e6c53d8642af36ce7d738ab6058b063ec58e0859
Python 3.8.13, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: English/New Zealand (en_NZ)
Installed mods:
* A2plus 0.4.60e
* Assembly3 0.11.4
* Assembly4 0.6.1
* BIM 2021.12.0
* CubeMenu
* CurvedShapes 1.0.4
* Curves 0.6.1
* dodo 1.0.0
* ExplodedAssembly
* fasteners 1.4.9
* fcgear 1.0.0
* fcscript-main
* flamingo
* frame
* frame.bak
* FreeCAD_AirPlaneDesign-master
* FreeCAD_Assembly4-master 0.12.4
* FreeCAD_FastenersWB-master 0.3.45
* FreeCAD_SheetMetal-master 0.2.49
* FreeCAD_Utils-main
* lattice2 0.6.1
* Lattice2-master 1.0.0
* Launcher
* MakerWorkbench
* Manipulator 1.4.9
* ose-piping
* parts_library
* parts_library.bak
* Pyramids-and-Polyhedrons
* sheetmetal 0.2.59
* sketchershapes-master
* stickframe-master
* workfeature
* workfeature-macro
Re: Assembly 4 - Double Movement
Moved to Assembly subforum
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: Assembly 4 - Double Movement
Assembly4 can have only one independent variable.
One common solution is to have an independent time variable and then define other variables in terms of time.
Or, it is also possible to use a conditional statement https://wiki.freecadweb.org/Expressions.
See example here:https://forum.freecadweb.org/viewtopic. ... 50#p615650
"It is a poor workman who blames his tools..."
Re: Assembly 4 - Double Movement
Thanks guys.
Got it working by playing around with the Map Mode of the small tab sketch, see attachment. I have one variable controlling two movements.
Applied the same principle to get movement on the three directions of a CNC machine I modeled up.
Got it working by playing around with the Map Mode of the small tab sketch, see attachment. I have one variable controlling two movements.
Applied the same principle to get movement on the three directions of a CNC machine I modeled up.
- Attachments
-
- Forum 31-12-22.png (56.45 KiB) Viewed 888 times