Do you mean to have an angle offset, say in the PlaneAlignment, such that once set, the two planes form an angle instead of being coplanar? Hmm... should be doable if I understand you correctly.
Assembly3 preview
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
-
- Veteran
- Posts: 2190
- Joined: Tue Jan 03, 2017 10:55 am
Re: Assembly3 preview
Re: Assembly3 preview
Hi @realthunder,realthunder wrote: ↑Sat May 05, 2018 12:11 amExactly, I have that use case in mind long before I started asm3. In fact, even before I started working on Link.
here a simple comparison between loading a board with 50pcs of the same switch with:
1) the old method (using a copy-paste chaching)
2) the new method with Assembly Links
No need to say a word!
1) old one 2) new with Links
Re: Assembly3 preview
Hi @Turro75 @realthunder
I've developed a macro to convert an Assembly of Parts with Body & Links to a Hierarchy of Parts with Shapes.
This can then be exported to STEP
here a small screencast of the Macro at work: and here the two files: @Turro75 ... I would like to test it with complex Assemblies... would you mind to share some?
Maurice
Re: Assembly3 preview
Well, actually I mean that an anglealignment between 2 planes requires to specify if the angle is on pitch, roll or yaw, sometimes this can be handled with additional constraints, but not always.realthunder wrote: ↑Sat May 05, 2018 10:36 amDo you mean to have an angle offset, say in the PlaneAlignment, such that once set, the two planes form an angle instead of being coplanar? Hmm... should be doable if I understand you correctly.
Re: Assembly3 preview
the assemblies I usually handle are 30MB to 100MB, I have one >400MB which I wasn't able to handle unless I switched to a 64bits OS.....
I'm really curious to see how it work.
Unfortunately there are a lot of company objs in my steps, I'm not allowed to share them.
By the way I can (have to) test this macro, if You send it to me.
-
- Veteran
- Posts: 2190
- Joined: Tue Jan 03, 2017 10:55 am
Re: Assembly3 preview
I see now. I'll add a new composite constraint for that.
Re: Assembly3 preview
The macro is here:Turro75 wrote: ↑Sun May 06, 2018 10:29 pmthe assemblies I usually handle are 30MB to 100MB, I have one >400MB which I wasn't able to handle unless I switched to a 64bits OS.....
I'm really curious to see how it work.
Unfortunately there are a lot of company objs in my steps, I'm not allowed to share them.
By the way I can (have to) test this macro, if You send it to me.
https://gist.github.com/easyw/049e0a2f8 ... 918bfbfb94
Configure a toolbar button with it, select an Assembly container an click on the button.
For your type of files it could take quite a long to copy the structure... It is doubling the project... but then you could export the project to Step with a hierarchy until this will be natively supported
Backup your project before any test
Let me know how it works...
M
-
- Posts: 16
- Joined: Thu Apr 05, 2018 3:41 pm
Re: Assembly3 preview
Hi Realthunder, or anyone else who is running the preview that might be able to help.
I'm having some problems getting basic constraints to do what I think they should. I'll post examples as separate messages in case it's easier to answer that way.
My first problem is-- the "lock" constraint doesn't seem to really lock. Hopefully the screencast makes it clear what I mean. I select a plane in the "Link_reference_frame" part, hit the lock constraint, and am still able to move the part around.
I'm having some problems getting basic constraints to do what I think they should. I'll post examples as separate messages in case it's easier to answer that way.
My first problem is-- the "lock" constraint doesn't seem to really lock. Hopefully the screencast makes it clear what I mean. I select a plane in the "Link_reference_frame" part, hit the lock constraint, and am still able to move the part around.
-
- Veteran
- Posts: 2190
- Joined: Tue Jan 03, 2017 10:55 am
Re: Assembly3 preview
The lock constraint is to prevent the solver to move the constrained part. You can of course manually move the part, which causes the solver to gather other movable parts around the newly located fixed part.Eric Myers wrote: ↑Tue May 08, 2018 3:50 am My first problem is-- the "lock" constraint doesn't seem to really lock. Hopefully the screencast makes it clear what I mean. I select a plane in the "Link_reference_frame" part, hit the lock constraint, and am still able to move the part around.
-
- Posts: 16
- Joined: Thu Apr 05, 2018 3:41 pm
Re: Assembly3 preview
My next major problem is- I can't seem to find any way to define a simple concentricity constraint between two axial features that doesn't depend on the global coordinate system of the two parts.
In other words, I would expect to be able to select a cylindrical surface on each of the two parts being constrained, or an axis of one part and cylindrical feature of another, or two axes, etc..., and be able to constrain these so that the associated axes are collinear.
As this is an early preview I could understand not having the functionality to be able to infer axes from cylindrical or conical features yet. But even after defining explicit axes, I can't seem to force them to take the collinear constraint. I just get an error "list index out of range"
I may be completely missing something, would really appreciate a hint if so.
In other words, I would expect to be able to select a cylindrical surface on each of the two parts being constrained, or an axis of one part and cylindrical feature of another, or two axes, etc..., and be able to constrain these so that the associated axes are collinear.
As this is an early preview I could understand not having the functionality to be able to infer axes from cylindrical or conical features yet. But even after defining explicit axes, I can't seem to force them to take the collinear constraint. I just get an error "list index out of range"
I may be completely missing something, would really appreciate a hint if so.