New Feature: Notch Connector
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
New Feature: Notch Connector
I have written a new tool "Notch Connector". It cuts notches into the overlapping part of two bars
Currently it is in the Curved Shapes workbench, but it does not really fit in there. Maybe the Arch workbench is a better place.
Does anybody want to copy this to another workbench. ? I will then delete it from Curved Shapes.
Currently it is in the Curved Shapes workbench, but it does not really fit in there. Maybe the Arch workbench is a better place.
Does anybody want to copy this to another workbench. ? I will then delete it from Curved Shapes.
Last edited by Kunda1 on Sat Feb 29, 2020 4:31 pm, edited 1 time in total.
Reason: Prefixed title for more clarity
Reason: Prefixed title for more clarity
Re: New Feature: Notch Connector
This is very cool, as I mentioned in the other thread. Do you mind adding the URL directly to the part of the code in your workbench so devs can access this conveniently?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: New Feature: Notch Connector
https://github.com/chbergmann/CurvedSha ... nnector.py
see https://github.com/chbergmann/CurvedSha ... tor.py#L13
Code: There is a dependency on CurvedShapes though?
see https://github.com/chbergmann/CurvedSha ... tor.py#L13
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: New Feature: Notch Connector
I could do the merging into another workbench. Which one is the best one for this ?
Re: New Feature: Notch Connector
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: New Feature: Notch Connector
Part is a peculiar wb, It can probably be considered the core of FreeCAD. It is used all around other FreeCAD wbs to generate object shapes. It's really stable due to wmayer conservative policy. I suggest thinking about other workbenches where to insert this tool
follow my experiments on BIM modelling for architecture design
Re: New Feature: Notch Connector
https://github.com/vocx-fc/FreeCAD/tree/Notch
I've put it temporarily in the Draft Workbench, src/Mod/Draft, just because I am refactoring commands with a certain style.
So the notch command is three files, a function to create it and an object class in draftobjects/, a GUI command in draftguitools/, and a view provider in draftviewproviders/.
I think this tool makes more sense in some sort of assembly workbench, or woodworking workbench.
I also don't quite understand why it creates two NotchConnector objects. I didn't test enough, I just wanted to test the structure by placing different parts of the code in different directories.
I've put it temporarily in the Draft Workbench, src/Mod/Draft, just because I am refactoring commands with a certain style.
So the notch command is three files, a function to create it and an object class in draftobjects/, a GUI command in draftguitools/, and a view provider in draftviewproviders/.
I think this tool makes more sense in some sort of assembly workbench, or woodworking workbench.
I also don't quite understand why it creates two NotchConnector objects. I didn't test enough, I just wanted to test the structure by placing different parts of the code in different directories.
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
Re: New Feature: Notch Connector
Thanks @vocx
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: New Feature: Notch Connector
I think at some point it could indeed go into Part. There are a few other Python tools in Part too. The only thing I guess is that it needs to be very well compacted into its own, independent, as small as possible set of files...