I just checked a fresh install of Assembly4 from the Addon Manager and it all works as before. Can you try to remove the folder ~/.FreeCAD/Mod/Assembly4 and re-install with the Addon Manager ?OficineRobotica wrote: ↑Wed Dec 11, 2019 3:49 pm after updating the module from the add-on manager all I get in A4 is 2 crossed icons. Even the Assembly menu voice has only 2 voices. It worked correctly before today's update(I mean me updating from the manager) .
Assembly 4 workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Assembly 4 workbench
Re: Assembly 4 workbench
Now, that is quite a challenge...I'll study the videos to see if there is enough to understand the motion. If we could just get the master sketch functioning correctly the rest of the model would be mostly routine.
Questions regarding the animator:
1. Is it not possible to specify a negative range or step size?
2. What is the purpose of Sleep?
"It is a poor workman who blames his tools..."
- OficineRobotica
- Posts: 433
- Joined: Thu Feb 21, 2019 8:17 am
- Contact:
Re: Assembly 4 workbench
Thank you @Zolko. That did it . For some reason it worked after deleting the /Assembly4 folder but it didn't worked when choosing Uninstall selected from the addon manager triyng to go for a clean install
Check out my Youtube channel at: https://www.youtube.com/@OficineRobotica
Re: Assembly 4 workbench
1) it's a while loop, so currently no, it's not possible to go backwards. What you can do is to create another variable that is the opposite of the drive variable. Yeah, you're right, it should be possible to go backwards, I'll implement that (check whether step is negative...)
2) either for loops that are too fast, or if you want to grab screenshots manually at each step to record an animation. But the button doesn't do anything right now.
Re: Assembly 4 workbench
There is a new updated version 0.7.6 of the Assembly4 workbench, and these functionalities work now. I'd recommend to update to this version because I plan to work on new functionalities, and therefore this version will remain stable for some some time (unless there are bugfixes).
Re: Assembly 4 workbench
OK, thanks for these enhancements.
"It is a poor workman who blames his tools..."
Re: Assembly 4 workbench
Well, these days it's not enough anymore, to showcase FreeCAD assembly capabilities, by demonstrating a mere assembly relation. Some (inverse) kinematics is basically a must:
http://solvespace.com/linkage.pl
https://forum.freecadweb.org/viewtopic. ... 70#p212301
https://forum.freecadweb.org/viewtopic. ... 40#p244045
- OficineRobotica
- Posts: 433
- Joined: Thu Feb 21, 2019 8:17 am
- Contact:
Re: Assembly 4 workbench
Please instruct me otherwise if this is not the right place to report problems or crashes but i have this problem with A4.
I was trying to follow the tutorial1 from the github page to get the hang of it and everything works as aspected until i try to modify the axis model inside part design workbench. Whatever operation one chooses(chamfer, edit sketch etc etc ) results in a hard crash with this message
I will try to make a different model and further test as I'm really excited about the possibility of in context design.
Freecad info
Thank you Zolko.
Best regards
I was trying to follow the tutorial1 from the github page to get the hang of it and everything works as aspected until i try to modify the axis model inside part design workbench. Whatever operation one chooses(chamfer, edit sketch etc etc ) results in a hard crash with this message
Code: Select all
./FreeCAD_0.19-18846-Linux-Conda_Py3Qt5_glibc2.12-x86_64.AppImage
/tmp/.mount_FreeCA1e5Pxn
FreeCAD 0.19, Libs: 0.19R18846 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2019
##### #### ### ####
# # # # # #
# ## #### #### # # # # #
#### # # # # # # # ##### # #
# # #### #### # # # # #
# # # # # # # # # ## ## ##
# # #### #### ### # # #### ## ## ##
Sheet Metal workbench loaded
Loading Assembly 4 WorkBench
connect failed: File o directory non esistente
Enumeration index -1 is out of range, ignore it
Program received signal SIGSEGV, Segmentation fault.
#0 /lib/x86_64-linux-gnu/libc.so.6(+0x3ef20) [0x7f24eff4cf20]
#1 0x7f24f28c38a4 in Gui::DAG::Model::slotInEdit(Gui::ViewProviderDocumentObject const&) from /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/libFreeCADGui.so+0x44
#2 /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/libFreeCADGui.so(+0x369b3c) [0x7f24f267ab3c]
#3 0x7f24f26d3e64 in Gui::Document::setEdit(Gui::ViewProvider*, int, char const*) from /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/libFreeCADGui.so+0x7f4
#4 0x7f24f26de669 in Gui::DocumentPy::setEdit(_object*) from /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/libFreeCADGui.so+0xd9
#5 0x7f24f26de7f4 in Gui::DocumentPy::staticCallback_setEdit(_object*, _object*) from /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/libFreeCADGui.so+0x24
#6 /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/libpython3.7m.so.1.0(_PyMethodDef_RawFastCallKeywords+0x104) [0x7f24f20c7034]
#7 /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/libpython3.7m.so.1.0(_PyCFunction_FastCallKeywords+0x26) [0x7f24f20c7ba6]
#8 /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/libpython3.7m.so.1.0(+0x6f3df) [0x7f24f20193df]
#9 /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/libpython3.7m.so.1.0(_PyEval_EvalFrameDefault+0x710a) [0x7f24f201710a]
#10 /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/libpython3.7m.so.1.0(_PyEval_EvalCodeWithName+0xac4) [0x7f24f21d2284]
#11 /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/libpython3.7m.so.1.0(PyEval_EvalCodeEx+0x3f) [0x7f24f21d236f]
#12 /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/libpython3.7m.so.1.0(PyEval_EvalCode+0x1c) [0x7f24f20a1abc]
#13 /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/libpython3.7m.so.1.0(PyRun_StringFlags+0x94) [0x7f24f20f21b4]
#14 0x7f24f330243a in Base::InterpreterSingleton::runString[abi:cxx11](char const*) from /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/libFreeCADBase.so+0x6a
#15 0x7f24f2731168 in Gui::Command::_runCommand(char const*, int, Gui::Command::DoCmd_Type, char const*) from /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/libFreeCADGui.so+0x98
#16 0x7f241ca45a97 in PartDesignGui::setEdit(App::DocumentObject*, PartDesign::Body*) from /tmp/.mount_FreeCA1e5Pxn/usr/lib/PartDesignGui.so+0x527
#17 0x7f241ca1ac25 in finishFeature(Gui::Command const*, App::DocumentObject*, App::DocumentObject*, bool, bool) from /tmp/.mount_FreeCA1e5Pxn/usr/lib/PartDesignGui.so+0x185
#18 0x7f241ca1b8ed in finishDressupFeature(Gui::Command const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Part::Feature*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&) from /tmp/.mount_FreeCA1e5Pxn/usr/lib/PartDesignGui.so+0x4fd
#19 0x7f241ca266a2 in makeChamferOrFillet(Gui::Command*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) from /tmp/.mount_FreeCA1e5Pxn/usr/lib/PartDesignGui.so+0x122
#20 0x7f241ca268b3 in CmdPartDesignChamfer::activated(int) from /tmp/.mount_FreeCA1e5Pxn/usr/lib/PartDesignGui.so+0x43
#21 0x7f24f273a271 in Gui::Command::invoke(int, Gui::Command::TriggerSource) from /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/libFreeCADGui.so+0x321
#22 0x7f24f06707b8 in QMetaObject::activate(QObject*, int, int, void**) from /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/libQt5Core.so.5+0x780
#23 0x7f24f0e7e96e in QAction::triggered(bool) from /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/libQt5Widgets.so.5+0x32
#24 0x7f24f0e80239 in QAction::activate(QAction::ActionEvent) from /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/libQt5Widgets.so.5+0xcb
#25 /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/libQt5Widgets.so.5(+0x20e128) [0x7f24f0f1d128]
#26 0x7f24f0f1d1e8 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) from /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/libQt5Widgets.so.5+0x88
#27 0x7f24f0fb3ffa in QToolButton::mouseReleaseEvent(QMouseEvent*) from /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/libQt5Widgets.so.5+0xa
#28 0x7f24f0eaec3e in QWidget::event(QEvent*) from /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/libQt5Widgets.so.5+0xce
#29 0x7f24f0fb4091 in QToolButton::event(QEvent*) from /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/libQt5Widgets.so.5+0x4f
#30 0x7f24f0e8382a in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/libQt5Widgets.so.5+0xde
#31 0x7f24f0e88095 in QApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/libQt5Widgets.so.5+0x79d
#32 0x7f24f27009e9 in Gui::GUIApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/libFreeCADGui.so+0x89
#33 0x7f24f065a186 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/libQt5Core.so.5+0x88
#34 0x7f24f0e8753f in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) from /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/libQt5Widgets.so.5+0x283
#35 /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/libQt5Widgets.so.5(+0x1af554) [0x7f24f0ebe554]
#36 /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/libQt5Widgets.so.5(+0x1b03a6) [0x7f24f0ebf3a6]
#37 0x7f24f0e8382a in QApplicationPrivate::notify_helper(QObject*, QEvent*) from /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/libQt5Widgets.so.5+0xde
#38 0x7f24f0e893f1 in QApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/libQt5Widgets.so.5+0x1af9
#39 0x7f24f27009e9 in Gui::GUIApplication::notify(QObject*, QEvent*) from /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/libFreeCADGui.so+0x89
#40 0x7f24f065a186 in QCoreApplication::notifyInternal2(QObject*, QEvent*) from /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/libQt5Core.so.5+0x88
#41 0x7f24f0a0040b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) from /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/libQt5Gui.so.5+0x6d3
#42 0x7f24f0a00ff7 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) from /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/libQt5Gui.so.5+0x175
#43 0x7f24f09eddd4 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/libQt5Gui.so.5+0x64
#44 /tmp/.mount_FreeCA1e5Pxn/usr/plugins/platforms/../../lib/libQt5XcbQpa.so.5(+0x5af0e) [0x7f24ea9adf0e]
#45 /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/./libglib-2.0.so.0(g_main_context_dispatch+0x2e8) [0x7f24ec8b29d8]
#46 /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/./libglib-2.0.so.0(+0x51c21) [0x7f24ec8b2c21]
#47 /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/./libglib-2.0.so.0(g_main_context_iteration+0x2e) [0x7f24ec8b2cae]
#48 0x7f24f068942b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) from /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/libQt5Core.so.5+0x63
#49 0x7f24f0656bc1 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) from /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/libQt5Core.so.5+0x187
#50 0x7f24f065aa39 in QCoreApplication::exec() from /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/libQt5Core.so.5+0x105
#51 0x7f24f26816c0 in Gui::Application::runApplication() from /tmp/.mount_FreeCA1e5Pxn/usr/bin/../lib/libFreeCADGui.so+0x15b0
#52 /tmp/.mount_FreeCA1e5Pxn/usr/bin/freecad(main+0x74d) [0x563bb68e07cd]
#53 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f24eff2fb97]
#54 /tmp/.mount_FreeCA1e5Pxn/usr/bin/freecad(+0x451f) [0x563bb68e151f]
Freecad info
Code: Select all
OS: KDE neon User Edition 5.17 (KDE//usr/share/xsessions/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18846 (Git) AppImage
Build type: Release
Branch: master
Hash: ceeb776fff25c679752571d5d8e6c4c8b1fd9008
Python version: 3.7.3
Qt version: 5.12.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Italian/Italy (it_IT)
Best regards
Check out my Youtube channel at: https://www.youtube.com/@OficineRobotica
Re: Assembly 4 workbench
yes, I know, it's a bug in App::Link. I also reported this problem, may-be you can chime in and give your feedback:OficineRobotica wrote: ↑Fri Dec 13, 2019 7:57 am Please instruct me otherwise if this is not the right place to report problems or crashes but i have this problem with A4.
I was trying to follow the tutorial1 from the github page to get the hang of it and everything works as aspected until i try to modify the axis model inside part design workbench. Whatever operation one chooses(chamfer, edit sketch etc etc ) results in a hard crash with this message
https://forum.freecadweb.org/viewtopic. ... 29#p353629
Re: Assembly 4 workbench
WorkFeatureDev WB.png[/attachment]Hello , having used Assembly 4 and finding it to my liking, there is one thing that still eludes me, how to get the animate function working! Having watch some of the clips I can only make some assumptions, but that does not get me very far.
The how-to I like to find out is , see attached references.
1. to get a part to slide on a rod? 2. a rod / shaft to turn in a bearing ,bush etc. 3. and the combination of the two, a rod turning and sliding in a slot . What I have noticed is a master/ main sketch to which the parts are attached that's as far as I get . Example V4 motor pistons and crank rod.
Add Variable what are these how to make use of them ?
I am assuming Add Variable and Animate Assembly have some connection?
App::PropertyBool =
App::PropertyBoolList =
App::PropertyFloat =
App::PropertyFloatList =
App::PropertyInteger =
App::PropertyEnumeraion =
App::PropertyIntegerList =
App::PropertyString =
App::PropertyXLink =
App::PropertyMatrix =
App::PropertyVector =
App::PropertyPlacement =
App::PropertyColor =
App::PropertyFile =
A step by step guide would be very helpful. If this explained somewhere then please point me to it. Thanks.
Feature inquiry / request A work bench I find useful is WorkFeatureDev it has the ability to place a point at midpoint on a line onto which I can then place a LCS. Not being able to program , but making the assumption that if I can place a point it could/ should be possible to place a LCS at the midpoint on a line in one operation. A second feature is that the point can be dynamic or fixed .
As I have noticed already implemented New hole LCS , possibly New midpoint LCS this would be a great addition as I use a lot symmetry in my Assemblies.
A study of this WB and the code could be useful for placing LCS and maybe hiding/showing LCS in assemblies.
Thank you for all your effort and contribution you are making to FreeCAD.
I end today with a I wounder why !!
Why is there no readout of a line length when I click it? Love to get an explanation:-)
The how-to I like to find out is , see attached references.
1. to get a part to slide on a rod? 2. a rod / shaft to turn in a bearing ,bush etc. 3. and the combination of the two, a rod turning and sliding in a slot . What I have noticed is a master/ main sketch to which the parts are attached that's as far as I get . Example V4 motor pistons and crank rod.
Add Variable what are these how to make use of them ?
I am assuming Add Variable and Animate Assembly have some connection?
App::PropertyBool =
App::PropertyBoolList =
App::PropertyFloat =
App::PropertyFloatList =
App::PropertyInteger =
App::PropertyEnumeraion =
App::PropertyIntegerList =
App::PropertyString =
App::PropertyXLink =
App::PropertyMatrix =
App::PropertyVector =
App::PropertyPlacement =
App::PropertyColor =
App::PropertyFile =
A step by step guide would be very helpful. If this explained somewhere then please point me to it. Thanks.
Feature inquiry / request A work bench I find useful is WorkFeatureDev it has the ability to place a point at midpoint on a line onto which I can then place a LCS. Not being able to program , but making the assumption that if I can place a point it could/ should be possible to place a LCS at the midpoint on a line in one operation. A second feature is that the point can be dynamic or fixed .
As I have noticed already implemented New hole LCS , possibly New midpoint LCS this would be a great addition as I use a lot symmetry in my Assemblies.
A study of this WB and the code could be useful for placing LCS and maybe hiding/showing LCS in assemblies.
Thank you for all your effort and contribution you are making to FreeCAD.
I end today with a I wounder why !!
Why is there no readout of a line length when I click it? Love to get an explanation:-)