Assembly3 preview

Discussion about the development of the Assembly workbench.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
saso
Veteran
Posts: 1924
Joined: Fri May 16, 2014 1:14 pm
Contact:

Re: Assembly3 preview

Post by saso »

easyw-fc wrote: Wed Jun 06, 2018 9:26 am If you don't gather attention there,
https://forum.freecadweb.org/viewtopic.php?f=8&t=26357
please don't move the subject here.
:) The longer the community will be ignoring this, the longer we will have no proper implementation of it...
User avatar
easyw-fc
Veteran
Posts: 3633
Joined: Thu Jul 09, 2015 9:34 am

Re: Assembly3 preview

Post by easyw-fc »

saso wrote: Wed Jun 06, 2018 9:40 am Ickby has build the implementation on top of this https://github.com/FreeCAD/FreeCAD/tree ... sembly/App you can see that both Part and Product (Assembly) containers are present there. This is how the proper full implementation of it in FreeCAD would look, note the Assembly (Product) container icon...
@ickby suggested to use Part container for STEP hierarchy, and then Jean Marie followed his suggestion.
If you search at the forum you will get it. I wonder why you did not came in at that time.
Moreover when you have two 'Assembly' containers in your doc, and you just drag one inside the other to make an assembly with sub-assemblies, would you suggest to auto-substitute the internal Assembly container with a Part container? And would it add any feature to the result?
EDIT:
saso wrote: Wed Jun 06, 2018 10:12 am
easyw-fc wrote: Wed Jun 06, 2018 9:26 am If you don't gather attention there,
https://forum.freecadweb.org/viewtopic.php?f=8&t=26357
please don't move the subject here.
:) The longer the community will be ignoring this, the longer we will have no proper implementation of it...
this is your point of view

PS if any moderator would think this is not the right place to talk about STEP containers, please feel free to move the conversation to whatever you consider correct.
realthunder
Veteran
Posts: 2190
Joined: Tue Jan 03, 2017 10:55 am

Re: Assembly3 preview

Post by realthunder »

easyw-fc wrote: Wed Jun 06, 2018 8:24 am No, I'm saying you have to test your importing and exporting results in proprietary CADs to know if you are doing a good job for what STEP is meaningful.
Yes, I will. But in this case, you seem to show me what DSM imported as an evidence suggesting the upstream is correct for not using the instance name, which I don't agree.

In fact there are Part group in Part group in FC importer
the up Part container 'Universal_Robots___UR10' is the 'UR10' DSM main container, the FC 'Size_4_Joint' inside container is the DSM 'Size 4 Joint' container and then there are the internal shapes.
in A3 everything is flattened and the Labels are not related to what DSM is displaying.
I explained the label thing several times already. And there is group of group in AS1 for my importer too. So, you don't bother asking why DSM uses the same icon in AS1 for l-bracket-assembly and its sub-assembly nut-bolt-assembly, but a different container for 'plate', or 'Size-4-joint'? What's the difference? Why FC using the same container for both is considered correct?

And you completely ignore the fact that I said I plan to add a general Part command to expand/collapse compound. Believe it or not, 0.6 importer does expand compound like the upstream. I followed this logic from Jean's code. But then I changed my mind yesterday and think this is not a good idea. If the component is not saved in STEP as an assembly, we don't expand it as one automatically. We can of course add more settings to preference to let user decide, and there is also the general command I mentioned.

No, I'm sorry if you think so, but at the same time you must consider that what is the meaning of a STEP file is interoperability... if you code your importer exporter without make any comparison with the commercial sw, then you will miss the real target of the job.
The testing as black box is exactly what is needed for the wanted result.
I never denied the necessity of horizontal comparison. I just disagree with your interpretation of the comparison results in this particular case. Plus, we are talking importer here, faithfully presenting information in the STEP is one thing, finding the best way to present it in FC is another important factor. When exporting, then the criteria should be for max compatibility.
Have you access to at least some commercial CAD?
I can install the free ones, sure. But no, not the other, I definitely need helps there.
And just to close this long post, I had warned you that STEP importing/exporting would not have been a simple task, so I consider that it will delay A3 merging as I already pointed out above.
Thanks for the warning. I probably talk too much. You know, if it won't for me out doing my own work today, I'd probably fixed those problems already.
Try Assembly3 with my custom build of FreeCAD at here.
And if you'd like to show your support, you can donate through patreon, liberapay, or paypal
User avatar
easyw-fc
Veteran
Posts: 3633
Joined: Thu Jul 09, 2015 9:34 am

Re: Assembly3 preview

Post by easyw-fc »

realthunder wrote: Wed Jun 06, 2018 10:17 am I probably talk too much. You know, if it won't for me out doing my own work today, I'd probably fixed those problems already.
Sorry for bothering you (as it seems you consider this discussion as something is bugging you), but you must face the issue I found and you missed before this discussion.
Last edited by easyw-fc on Wed Jun 06, 2018 10:30 am, edited 1 time in total.
realthunder
Veteran
Posts: 2190
Joined: Tue Jan 03, 2017 10:55 am

Re: Assembly3 preview

Post by realthunder »

saso wrote: Wed Jun 06, 2018 10:12 am :) The longer the community will be ignoring this, the longer we will have no proper implementation of it...
Yes, there is problem there, but you proposed a radical solution without any details to handle all the consequences.
Try Assembly3 with my custom build of FreeCAD at here.
And if you'd like to show your support, you can donate through patreon, liberapay, or paypal
User avatar
saso
Veteran
Posts: 1924
Joined: Fri May 16, 2014 1:14 pm
Contact:

Re: Assembly3 preview

Post by saso »

easyw-fc wrote: Wed Jun 06, 2018 10:15 am
saso wrote: Wed Jun 06, 2018 9:40 am Ickby has build the implementation on top of this https://github.com/FreeCAD/FreeCAD/tree ... sembly/App you can see that both Part and Product (Assembly) containers are present there. This is how the proper full implementation of it in FreeCAD would look, note the Assembly (Product) container icon...
@ickby suggested to use Part container for STEP hierarchy, and then Jean Marie followed his suggestion.
If you search at the forum you will get it.
I know, but it is possible to import a STEP on the "Assembly level" (this is generally what you have in your examples), in this case geometry (solids/brep) goes in to Part containers and different Part containers are put together hierarchically using Assembly containers. BUT it is also possible to import the STEP on the "Part level" (sort of one level lower then when importing it on the "Assembly level"), this generally works only for more simple Assemblies and in this case then the multi-body structure is used (because bodies go in to Parts). https://www.youtube.com/watch?v=tpmgcpqu1i8

Also, ickby expressed many times that his implementation of Parts and the Assembler that he was working on, was not finished.
easyw-fc wrote: Wed Jun 06, 2018 10:15 am I wonder why you did not came in at that time.
I have explained it before that before december I had almost zero knowledge and experience about this, but the ongoing conflicting conversations in the forum on this topics had made me decide that I have spend 3 months, in the beginning of the year, researching on this topics and concepts and I can say today that I confidently stand behind my arguments (well, at least most of them :) ).
easyw-fc wrote: Wed Jun 06, 2018 10:15 am Moreover when you have two 'Assembly' containers in your doc, and you just drag one inside the other to make an assembly with sub-assemblies, would you suggest to auto-substitute the internal Assembly container with a Part container? And would it add any feature to the result?
No, it is perfectly ok to put Assembly containers inside other Assembly containers. When you have two Assembly containers, then you would normally also have at least two Part containers, one inside of each Assembly container and if you would not have this just as an empty assembly structure (what you normally do, to start with when you model in a "top down" approach), then you would also have some geometry inside of those two Part containers. So if you would now put one assembly inside the other (which is ok) and then change, as you suggest, the inside assembly container to a part container then you would again have a part inside of a part (which is not ok).
Last edited by saso on Wed Jun 06, 2018 12:51 pm, edited 9 times in total.
User avatar
saso
Veteran
Posts: 1924
Joined: Fri May 16, 2014 1:14 pm
Contact:

Re: Assembly3 preview

Post by saso »

realthunder wrote: Wed Jun 06, 2018 10:21 am
saso wrote: Wed Jun 06, 2018 10:12 am :) The longer the community will be ignoring this, the longer we will have no proper implementation of it...
Yes, there is problem there, but you proposed a radical solution without any details to handle all the consequences.
IMO we already have more or less all of the peaces of the puzzle, we only have to put them properly together. When I gave you a bit of guidance for implementing the Sketcher exports you did IMO something great. Don't understand my critique on Asm3 wrong, as I said before I have confidence in you, mostly because you seem to be able to code as fast as I think :roll: But if we want to do this properly then I stand by my arguments and I am willing to work out the details. I do not however have the energy for such discussions when after pages of my arguments end examples from all the different parametric programs, I get such comments as "this is your point of view", because it is not, it is from what I have learned from for sure 1000+ youtube videos, reading a ton of product documentations from other parametric programs, reading technical papers, blogs and discussions on this topics and studying existing models created by different programs...
Last edited by saso on Wed Jun 06, 2018 11:38 am, edited 2 times in total.
User avatar
easyw-fc
Veteran
Posts: 3633
Joined: Thu Jul 09, 2015 9:34 am

Re: Assembly3 preview

Post by easyw-fc »

saso wrote: Wed Jun 06, 2018 10:52 am this generally works only for more simple Assemblies and in this case then the multi-body structure is used (because bodies go in to Parts).
Body are not present at STEP level at all.
In general if you miss the assembly container for assembly FC internal objects I may agree, but in STEP format all construction history and constraints are lost.
So I don't see such a issue for step import hierarchy.
realthunder
Veteran
Posts: 2190
Joined: Tue Jan 03, 2017 10:55 am

Re: Assembly3 preview

Post by realthunder »

saso wrote: Wed Jun 06, 2018 11:15 am IMO we already have more or less all of the peaces of the puzzle, we only have to put them properly together. When I gave you a bit of guidance for implementing the Sketcher exports you did IMO something great. Don't understand my critique on Asm3 wrong, as I said before I have confidence in you, mostly because you seem to be able to code as fast as I think :roll: But if we want to do this properly then I stand by my arguments and I am willing to work out the details. I do not however have the energy for such discussions when after pages of my arguments end examples from all the different parametric programs, I get such comments as "this is your point of view", because it is not, it is from what I have learned from for sure 1000+ youtube videos, reading a ton of product documentations from other parametric programs, reading technical papers, blogs and discussions on this topics and studying existing models...
Well, you can open a new topic, and I'll join the discussion. I may not agree with you, but I am willing and curious to see the details you have in mind.
Try Assembly3 with my custom build of FreeCAD at here.
And if you'd like to show your support, you can donate through patreon, liberapay, or paypal
User avatar
saso
Veteran
Posts: 1924
Joined: Fri May 16, 2014 1:14 pm
Contact:

Re: Assembly3 preview

Post by saso »

easyw-fc wrote: Wed Jun 06, 2018 11:23 am
saso wrote: Wed Jun 06, 2018 10:52 am this generally works only for more simple Assemblies and in this case then the multi-body structure is used (because bodies go in to Parts).
Body are not present at STEP level at all.
It also does not have a specific Assembly or Part container. In general there is only an hierarchical structure, and it is why it is possible to import it in different ways... Anyway, I have already planed to write a few more things in the "Discussion on Parts and Bodies" topic to hopefully represented my views with a bit more details, so I will do that in the next week or two and we will see then if we can come a bit closer with our views.
Post Reply