The lastest I found on the Github page https://github.com/FreeCAD/FreeCAD/rele ... g/0.19_pre under 'Assets' was 0.19.19566 for Linux. Also here I did not find Assembly3. I have been looking at Tools/Customize../Workbenches. There it is not in the list. Where should I look?
Assembly3 preview
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Assembly3 preview
- OficineRobotica
- Posts: 433
- Joined: Thu Feb 21, 2019 8:17 am
- Contact:
Re: Assembly3 preview
https://github.com/FreeCAD/FreeCAD/rele ... 4.AppImage
I just tried this and asm3 is present. I see it at the bottom of the popup of the workbench selector. Depending on sitem you might need to scroll to see it , on kde neon that menu is presented full.
I just tried this and asm3 is present. I see it at the bottom of the popup of the workbench selector. Depending on sitem you might need to scroll to see it , on kde neon that menu is presented full.
Check out my Youtube channel at: https://www.youtube.com/@OficineRobotica
Re: Assembly3 preview
Which 3rd party workbenches are installed in your system? Also please report the output of:catman wrote: ↑Sat Feb 15, 2020 9:16 pmThe lastest I found on the Github page https://github.com/FreeCAD/FreeCAD/rele ... g/0.19_pre under 'Assets' was 0.19.19566 for Linux. Also here I did not find Assembly3. I have been looking at Tools/Customize../Workbenches. There it is not in the list. Where should I look?
Code: Select all
import freecad
freecad.__file__
Re: Assembly3 preview
Its definetly not in the list of workbenches.looo wrote: ↑Sun Feb 16, 2020 6:41 amWhich 3rd party workbenches are installed in your system? Also please report the output of:catman wrote: ↑Sat Feb 15, 2020 9:16 pm The lastest I found on the Github page https://github.com/FreeCAD/FreeCAD/rele ... g/0.19_pre under 'Assets' was 0.19.19566 for Linux. Also here I did not find Assembly3. I have been looking at Tools/Customize../Workbenches. There it is not in the list. Where should I look?Code: Select all
import freecad freecad.__file__
Here is the output of the command. This looks very weird to me - I have not used the Gears WB for a long time..
Code: Select all
>>> freecad.__file__
'/home/$USER/.FreeCAD/Mod/Gears/freecad/__init__.py'
>>>
Code: Select all
3D_Printing_Tools
A2plus
Animation
ArchTextures
Assembly4
BIM
Defeaturing
dodo
ExplodedAssembly
fasteners
flamingo
Gears
Glass
IconThemes
InventorLoader
kicadStepUpMod
LCInterlocking
Manipulator
pcb
PieMenu
PreferencesPresets
Render
Reporting
SelectorToolbar
sheetmetal
workfeature
Here is the system Info:
Code: Select all
OS: Ubuntu 18.04.3 LTS (XFCE/xubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19566 (Git) AppImage
Build type: Release
Branch: master
Hash: 9960b673997a926c101b8b61a65e8d3796664c01
Python version: 3.8.1
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United States (en_US)
Re: Assembly3 preview
Updating "FCGear" via AddonManager did not help, but with your help I found the problem: obviously "Gears" had been changed to "FCGear" some time ago. In my "Mod" folder (~/.FeeCAD/Mod) there was still the folder "Gears" with the old version of the Gears WB. After removing that folder and restarting FreeCAD the Assembly3 WB appeared!
I guess that also was the reason that the downloaded Asm3 workbench from Github did not load when I tried end of 2019. Good to know.
Also when re-doing your code bit, this seem to be the correct output:
Code: Select all
>>> import freecad
>>> freecad.__file__
'/tmp/.mount_FreeCAaTFat6/usr/lib/python3.8/site-packages/freecad/__init__.py'
>>>
Re: Assembly3 preview
When using the excellent introduction from @jpg87 (excellent job!) one step is to assembly an axis with two wheels (http://help-freecad-jpg87.fr/0251_ass_e ... ssieux.php) I am stuck with that issue.realthunder wrote: ↑Mon Feb 10, 2020 10:41 pmYou can change the 'Offset' property in either the element object under the constraint, or under the element group. It is a placement in the element local coordinate. If you change it under element group, it will affect all constraint that uses this element.
One thing to note though, because the way SolveSpace works, plane coincident constraint does not care about plane orientation. Meaning that it will snap either way. You'll have to use other constraint to fix it. Or, maybe you can consider other type of constraint, like the 'Placement' constraint, which coincide two elements exactly, without going through the solver.
After attaching the first wheel fine, the other always attached the wrong way. The two wheels need to attach mirrored. I tried many different constaints but I always end up with the alignment in the orientation as in the image above.
How can I solve this purely by constraints (I now that manually pre-aligning the wheel works)?
I think something like "PlaneCoincident" plus another acting like "Normals Align" or "Normal Perpendicular" would work. But I can't get it to work.
What is the best way to get this wheel to attach the other way around (without manually aligning it)?
Two more questions came up:
* What is the proper way to delete constraints?
When I had the axis together I deleted the constraints and wanted to do it again. But the parts could not be moved, the constraints still seemed to be in place. I did the file again, this time I disabled the constraint and then deleted it. That seemd to work. Is that the proper procedure?
* Is there a workaround to re-do(=re-assign) a constraint by selecting different faces/edges/vertices?
I saw realthunders video where he changed the one part of an assembly by recreating matching Elements, but thats a different use case.
-
- Veteran
- Posts: 2190
- Joined: Tue Jan 03, 2017 10:55 am
Re: Assembly3 preview
If the Axis object is fixed by a Lock constraint, then you can use the 'Attachment' constraint to fix the wheel. This constraint works by aligning the placement of the elements exactly. So if the orientation is flipped, change the 'Offset' property of one of the constraining element. BTW, changing 'Offset' property works for PlaneCoincidence too, but only if you change it gradually with 'Auto Solve' enabled, like using your mouse wheel.
The disadvantage of using 'Attachment' is that it completely fixed the part, while PlaneCoincidence let you rotate the wheel.
Just select the constraint and delete. Not sure about the problem you described. Can you reproduce it? To bypass constraining while moving a part, you can either manually disable 'Auto Solve' using the toolbar button, or hold 'CTRL' key while using the mover.* What is the proper way to delete constraints?
Expand the constraint object to expose its element objects. Select the new geometry element in the 3D view. If 'Sync Selection' is on (it is by default on), the corresponding tree item will be selected in the tree view. Drag and drop that item onto the constraint element object to reset it.* Is there a workaround to re-do(=re-assign) a constraint by selecting different faces/edges/vertices?
Re: Assembly3 preview
First I was confused because the constraint itself has an "offset" value as well, but you mean the "offset" property of the elements under the constraint. It worked with "PlaneConicidence".realthunder wrote: ↑Mon Feb 17, 2020 11:36 pmchanging 'Offset' property works for PlaneCoincidence too, but only if you change it gradually with 'Auto Solve' enabled, like using your mouse wheel.How can I solve this purely by constraints (I now that manually pre-aligning the wheel works)?
Here is a short procedure of what I did (see Image below).
- Step 1. Open the constraint
- Step 2. Identify which element belongs to the wrongly attached part, here the wheel. It helps using the Space key to toggle the visibility of the elements. Select that element.
- Step 3. Set the right axis In the element properties "offset". Here we change the axis to "y". Also make sure the 'Auto-Compute' function is selected in the toolbar (the yellow icon with the yellow frame).
- Step 4. Now use the mouse to increment the angle. Every 10-20deg click into another field, so the Auto-Compute starts working. You will notice the wheel is rotating to the new angle. In the image we are at 150deg. If it does not rotate, the steps were too large. Continue unil the wheel is in the right orientation, here 180deg.
I would have thought the solver would "snap" to the other solution about half way (e.g. just above 90°), but it did not in my example.
When a part attached the wrong way you have two options: a) delete the constraint, reorient the part and do it again. b) Change the angle of the 'Offset' property of the objects feature (i.e. the 'element') until it flips to the correct orientation. This image shows a wheel that has been attached being rotated according method b).
I could not reproduce it now and I had deleted the other file. If I see it again, I will try to make it reproducible.realthunder wrote: ↑Mon Feb 17, 2020 11:36 pm Just select the constraint and delete. Not sure about the problem you described. Can you reproduce it?
Last edited by catman on Tue Feb 18, 2020 1:11 pm, edited 1 time in total.