Assembly3 preview

Discussion about the development of the Assembly workbench.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
project4
Posts: 237
Joined: Fri Jul 12, 2013 12:53 pm

Re: Assembly3 preview

Post by project4 »

Which point do you mean?
I'm trying to align the point that exist on the radius of the wheel:
1.png
1.png (19.4 KiB) Viewed 27289 times
The parts are from a vendor STEP files, so I wonder if I should start editing those...
User avatar
nemesis
Posts: 372
Joined: Tue Mar 25, 2014 11:24 pm
Location: France, Lyon

Re: Assembly3 preview

Post by nemesis »

if you use a circle + plane, it will consider the center of the circle.
so by using each side of the wheel, you keep the distance between wheel axis and plane.
this point plane distance = radius of wheel
so unless your step is not with a true circle, it should work
Screenshot_20221023_150836.png
Screenshot_20221023_150836.png (76.56 KiB) Viewed 27279 times
Attachments
test.FCStd
(22.83 KiB) Downloaded 91 times
project4
Posts: 237
Joined: Fri Jul 12, 2013 12:53 pm

Re: Assembly3 preview

Post by project4 »

Thanks!
After playing with it for some time I guess there is no full circle on the wheels. When I select a side, only half of it is highlighted.

But it gave me a direction to try PointOnLine for the bottoms wheels on one side.
Since there is a bit of freedom between the wheel and the channel, I can't do the same with the tops of the wheel :(
But I found the PointLineDistance constraint, so I can constrain the wheels assembly in the right position and angle and play abit with the distance numbers to bring it to the needed alignment with the channel.

Couldn't find the right contrain and points on the parts that will hold the wheel vertically with the channel side, this will help alot with the tweaking.

Still playing.

Thanks for the direction.
User avatar
nemesis
Posts: 372
Joined: Tue Mar 25, 2014 11:24 pm
Location: France, Lyon

Re: Assembly3 preview

Post by nemesis »

project4 wrote: Sun Oct 23, 2022 1:55 pm After playing with it for some time I guess there is no full circle on the wheels. When I select a side, only half of it is highlighted.
taking in account the simplicity of the part I would redo it in partdesign to get consistent constraints during assembly
project4
Posts: 237
Joined: Fri Jul 12, 2013 12:53 pm

Re: Assembly3 preview

Post by project4 »

nemesis wrote: Sun Oct 23, 2022 3:36 pm taking in account the simplicity of the part I would redo it in partdesign to get consistent constraints during assembly
Want to stick to vendor's files as much as possible, there are too many of them to change.

At the end I found the solution:
I used the screw (on the bottom) faces to align SameOrientation with relevant faces of the channel, so now the wheels are vertical and in needed direction. And added PointOnLine as you proposed of one wheel circular part and relevant channel line. Tweaked the wheel element position for few millimeters and now it's in the right place and moves along the line.

Thanks again for thoughts direction.
lilal
Posts: 2
Joined: Sat Nov 21, 2020 1:35 am

Re: Assembly3 preview

Post by lilal »

I've been using Assembly3 for quite a while now. Using constraints to make joints is quite easy when it's a bolt joint. For example, you have a circular hole and a bolt. When using other geometric joints it gets a bit complicated, right?
I've done a bit of experimenting with different joint geometries like rectangular, pentagon and more. To create a constraint between a mounting plate and the part, I often use SubShapeBinder's in my workflow and the 'Attachment' constraint. This works quite well, except with the pentagon geometry, any ideas? At the moment I'm using the PlaneCoincident constraint with fixed angle but this is not very dynamic in a way.
Bildschirmfoto vom 2023-04-08 17-37-04.png
Bildschirmfoto vom 2023-04-08 17-37-04.png (45.7 KiB) Viewed 23937 times
I am using:

Code: Select all

OS: Manjaro Linux (GNOME/gnome)
Word size of FreeCAD: 64-bit
Version: 2023.131.26244 +5365 (Git) AppImage
Build type: Release
Branch: LinkDaily
Hash: 73c4ca254c5de8849d104973482e98399fb24863
Python version: 3.10.8
Qt version: 5.15.4
Coin version: 4.0.1
OCC version: 7.6.3
Attachments
test4.FCStd
(184.18 KiB) Downloaded 77 times
windkit - an open source hardware small windturbine build with FreeCAD
https://twitter.com/Windkit_cc
https://git.erni-kollektiv.org/erni/windkit
User avatar
jpg87
Posts: 809
Joined: Thu Mar 16, 2017 7:16 am
Location: Limoges - France
Contact:

Re: Assembly3 preview

Post by jpg87 »

Hello @lilal
On your example, the Attachment constraint worked visually only, because the sketches had similar orientations.
For the pentagon, it was different, hence the failure.
The reason is as follows: Attachment works above all like PlaneCoincident, ie it brings the 2 planes AND the centers of the designated surfaces into coincidence, before locking the other degrees of freedom, without modifying the other respective positions.
My website : http://help-freecad-jpg87.fr updated 2023/11/06
User avatar
Marodut
Posts: 11
Joined: Tue Jun 28, 2022 7:36 am
Location: Padova (IT)
Contact:

Re: Assembly3 preview

Post by Marodut »

Hi everyone! I can't wrap my head around the behaviour of a constraint Element that i'm trying to create, I hope you can shed some light on it.
Screenshot from 2023-04-22 12-49-28.png
Screenshot from 2023-04-22 12-49-28.png (48.31 KiB) Viewed 23301 times
I'm trying to align the side of the green cube to the direction of the V groove.
To avoid redundant constraints I need to use "LineVertical" constraint, therefore, as elements, I need both a line and plane which is orthogonal to the first line.

For the line Element I'm using one of the cube's edges, for the plane Element I'd like to use a datum plane attached to the PartDesign_Body's local coordinate system, to make it more resilient to TPN problems.

My issue is that the plane Element is tilted differently than the datum plane it originated from.
Screenshot from 2023-04-22 12-48-00.png
Screenshot from 2023-04-22 12-48-00.png (138.54 KiB) Viewed 23301 times
If I use a face from the PartDesign_Body, the plane Element behaves normally.
Screenshot from 2023-04-22 12-34-51.png
Screenshot from 2023-04-22 12-34-51.png (54.95 KiB) Viewed 23301 times
How can this quirck be explained? Am I missing something?
Thanks everyone.
Element_example.FCStd
(291.54 KiB) Downloaded 70 times

Code: Select all

OS: Pop!_OS 22.04 LTS (pop:GNOME/pop)
Word size of FreeCAD: 64-bit
Version: 0.21.0.31695 (Git) AppImage
Build type: Release
Branch: master
Hash: 64caea207394bb05587c8ffb29b7a3e8696d24df
Python 3.10.8, Qt 5.15.6, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: English/United Kingdom (en_GB)
Installed mods: 
  * Assembly3 0.11.4
  * fasteners 0.4.54
  * freecad.gears 1.0.0
  * Behave-Dark-Colors 0.1.1
  * ExtremeProDark 2.6.4
  * Dracula 0.0.2
User avatar
jpg87
Posts: 809
Joined: Thu Mar 16, 2017 7:16 am
Location: Limoges - France
Contact:

Re: Assembly3 preview

Post by jpg87 »

Marodut wrote: Sat Apr 22, 2023 10:55 amHi
See my response in your other post:
viewtopic.php?p=677585#p677585
My website : http://help-freecad-jpg87.fr updated 2023/11/06
User avatar
FBXL5
Posts: 980
Joined: Sat Aug 03, 2019 8:45 pm

Re: Assembly3 preview

Post by FBXL5 »

It seems that since FreeCAD is bundled with Python 3.11 Assembly3 has a problem to find the (SolveSpace) solver data and as a consequence won't start at all.

Is it just my macOS problem or can anyone confirm that ASM3 can no longer be used on other systems?

I performed some recommended updates:
1. Python 3.11 to
2. run the newest pip to be able to
3. install py-slvs 1.0.6 (SolveSpace),
but ASM3 still won't start.

Newest weekly build with failing ASM3:

Code: Select all

OS: macOS 10.15
Word size of FreeCAD: 64-bit
Version: 0.21.0.33110 (Git)
Build type: Release
Branch: master
Hash: 18e40941ceb36c52701a7c74ea26043ef3385701
Python 3.11.3, Qt 5.15.8, Coin 4.0.0, Vtk 9.2.2, OCC 7.7.1
Locale: C/Default (C)
Installed mods: 
  * Reinforcement
  * fcgear 1.0.0
  * Render 2023.2.4
  * fcgear.backup1662890180.767765
  * fasteners 0.4.56
  * CurvedShapes 1.0.4
  * sheetmetal 0.2.63
  * Help 1.0.3
  * Curves 0.6.8
  * Assembly3 0.12.0
Last version with fully functional ASM3:

Code: Select all

OS: macOS 10.15
Word size of FreeCAD: 64-bit
Version: 0.21.0.32532 (Git)
Build type: Release
Branch: master
Hash: 20e44eba50e1365b9e7bb9c5c244afe96a627a28
Python 3.10.10, Qt 5.15.8, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: C/Default (C)
Installed mods: 
  * Reinforcement
  * fcgear 1.0.0
  * Render 2023.2.4
  * fcgear.backup1662890180.767765
  * fasteners 0.4.56
  * CurvedShapes 1.0.4
  * sheetmetal 0.2.63
  * Help 1.0.3
  * Curves 0.6.8
  * Assembly3 0.12.0
Post Reply