GD&T Workbench for FreeCAD

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
Cuq
Posts: 145
Joined: Tue Jul 06, 2021 10:07 am

Re: GD&T Workbench for FreeCAD

Post by Cuq »

I try to bring it back to life ... FreeCad 0.20

I have at least the icons and the basic functions ... after that the code will have to be totally redone ...

If someone is motivated :
BackToLife.jpg
BackToLife.jpg (21.65 KiB) Viewed 1478 times
https://github.com/5axes/FreeCAD-GDT
Last edited by Cuq on Thu Mar 16, 2023 8:52 am, edited 1 time in total.
User avatar
easyw-fc
Veteran
Posts: 3629
Joined: Thu Jul 09, 2015 9:34 am

Re: GD&T Workbench for FreeCAD

Post by easyw-fc »

Cuq wrote: Wed Mar 15, 2023 9:41 am I try to bring it back to life ... FreeCad 0.20
that's nice...
it would be possible to move the main wb to point to your repo?
user1234
Veteran
Posts: 3337
Joined: Mon Jul 11, 2016 5:08 pm

Re: GD&T Workbench for FreeCAD

Post by user1234 »

Nice, i really like the idea to dimension all in 3D.


Greetings
user1234
User avatar
easyw-fc
Veteran
Posts: 3629
Joined: Thu Jul 09, 2015 9:34 am

Re: GD&T Workbench for FreeCAD

Post by easyw-fc »

Cuq wrote: Wed Mar 15, 2023 9:41 am I try to bring it back to life ... FreeCad 0.20
Would you mind to develop on FC0.21 next stabile ?
User avatar
Cuq
Posts: 145
Joined: Tue Jul 06, 2021 10:07 am

Re: GD&T Workbench for FreeCAD

Post by Cuq »

I'm using Freecad 0.20.1

For the moment my goal was just to see if we could reactivate this WB for the current version of FreeCad. Having never seen the Module working , it was difficult to see the level reached before the development was stopped. I thought that the functions were much more advanced. Finally the work to be done is huge but if we don't try to reignite a little spark this will never progress.

Looking at the screenshots of the original Github we can see a coding of the GPS features that doesn't seem to be possible in the existing code.
screen.png
screen.png (87.54 KiB) Viewed 1389 times


Would the creator have left on his Github a less finished version of his code I don't know and I think we will never get the info. For the moment the basic level of the plugin is not a problem because it is the right sandbox to advance in the specifics of writing a WorkBench for FreeCad.
User avatar
Cuq
Posts: 145
Joined: Tue Jul 06, 2021 10:07 am

Re: GD&T Workbench for FreeCAD

Post by Cuq »

In the creation of Features I have a warning message from FreeCad that tells me :

Code: Select all

App::FeaturePython: Link(s) to object(s) 'Pad' go out of the allowed scope 'AnnotationPlane'. Instead, the linked object(s) reside within 'Body'.
error.png
error.png (8.7 KiB) Viewed 1304 times
Someone has an idea of what is not well defined ?
Last edited by Cuq on Thu Mar 16, 2023 5:08 pm, edited 1 time in total.
User avatar
Cuq
Posts: 145
Joined: Tue Jul 06, 2021 10:07 am

Re: GD&T Workbench for FreeCAD

Post by Cuq »

Unfortunately everything is there. or almost I did not find how to put the 2X . But I find what we had in the first screenshots of this post.
multi.png
multi.png (10.05 KiB) Viewed 1348 times
Attachments
pref.png
pref.png (38.46 KiB) Viewed 1348 times
Last edited by Cuq on Thu Mar 16, 2023 4:14 pm, edited 4 times in total.
User avatar
Cuq
Posts: 145
Joined: Tue Jul 06, 2021 10:07 am

Re: GD&T Workbench for FreeCAD

Post by Cuq »

Should be 0.05 mm and not 50 'Microns'
50_microns.png
50_microns.png (2.84 KiB) Viewed 1339 times
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: GD&T Workbench for FreeCAD

Post by Roy_043 »

Cuq wrote: Thu Mar 16, 2023 2:54 pm Someone has an idea of what is not well defined ?
Check the Display Mode of the Body. You probably need to change it to Tip.
user1234
Veteran
Posts: 3337
Joined: Mon Jul 11, 2016 5:08 pm

Re: GD&T Workbench for FreeCAD

Post by user1234 »

Cuq wrote: Thu Mar 16, 2023 2:54 pm Someone has an idea of what is not well defined ?
It is only a warning. You reference elements (face, lines, vertex) from features (in that case probably Pocket001), not the whole Body, outside the Body. This means when you add a feature to the Body (for example a fillet), it will not be considered. It still references to the not last visible feature.

Greetings
user1234

edit: typo
Post Reply