Feature requests: Enabling FreeCAD for sewing pattern making

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
User avatar
xorx
Posts: 9
Joined: Tue May 02, 2017 8:30 am
Location: Cologne

Feature requests: Enabling FreeCAD for sewing pattern making

Postby xorx » Tue Apr 21, 2020 8:20 pm

I am a hobbyist sewer (my shirts are legendary :-) and I was looking around for an affordable tool to make sewing patterns for hobbyist, small bussinesses and 3rd world bussinesses. I know FreeCAD for 3D and point cloud applications and I tested a couple of tools specialized for sewing patterns (Valentina/Seamly 2D, python versions like Patro, and more professional and expensive tools like Marvelous Designer). While the free tool Seamly 2D is easy to use and has a good user interface with an excellent measurements integration, its CAD core is extremly simplistic and is missing essential method. I finally rememberd using FreeCad and made a case study on how to implement a sewing pattern workflow in FreeCad. I found that only a few basic features would be missing for that. But let me first point out what we allready have:

Existing workflow
  1. Import/define body measures of the person who is going to wear the clothing: This could be done as properties of a scripted object. Due to technical problems I used a separate sketch for this which is a perfect solution for me.
  2. Sketch the outlines of one piece of the pattern in Sketcher
    • Make sketch dependend on external measures
    • Use more or less complex formulas and constraints to adjust the outline of the piece
    • Use symmetry constraints, because many parts are left-right symmetric
  3. Create a TechDraw document and add the drawing of the piece to a page
  4. Export document as SVG or directly as PDF for large format printing service
This is the whole workflow and it is allready there: FreeCAD is basically ready for pattern making!

Missing features
There are a few essential things missing. As far as I see they could be implemented by scripting or are allready under construction. What is missing?
  • Adding seam allowance: For many simple use cases it is sufficient to create a 2D offset around each part we have drawn in sketcher. In more complex cases some curves or lines may or may not need a seam allowance. I could be necessary to select elements that need a seam allowance. Possible ways of realization:
    • 2D Offset tool in sketcher: This is allready in work.
    • A kind of postprocessing feature between Sketcher and TechDraw. This is the way the seam allowance is realized Seamly2D.
  • Matching parts: Normal clothes consist of several parts. Typically connecting edges of two parts are restricted to have the same length. There are exceptions like quillings, but the normal case is a clear match. A typical case where three parts have to match a common curve length is a sleeves seam to the two body parts (front and back). While the top end of the sleeve has a gaussian like shape, the cutouts in the front and back part are more or less simple curves. The condition we have to meet for a functions sewing pattern is that the curve length of the sleeve is equal to the total length of the two cut out curves on front and back part. I know that it no point and click automatic to realize this matching without user interaction but we will need a few things to make it possible:
    • Measuring curve length between a start and end point in a sketch or curve length of one geometrical element.
    • Adjusting one or more points in one or more parts along a predefined vector to match the curve length to a mathematically defined condition. Adjusting curvature could also be an option, but adjusting points is more straight forward and more effective.

Your opinion
What is your opinnion, what are your suggestions? I am really interested in discussion this topic with you, because I think this could become a really nice and new application for FreeCAD. I think about extending this idea to a full grown workbench including 3D simulation of clothes as realized in Marvelous Designer and other professional 3D tools. The FEM tools are allready there :-)
vocx
Posts: 4637
Joined: Thu Oct 18, 2018 9:18 pm

Re: Feature requests: Enabling FreeCAD for sewing pattern making

Postby vocx » Tue Apr 21, 2020 10:29 pm

xorx wrote:
Tue Apr 21, 2020 8:20 pm
I am a hobbyist sewer (my shirts are legendary :-) and I was looking around for an affordable tool to make sewing patterns for hobbyist, small bussinesses and 3rd world bussinesses.
The only recent example of clothing that I can recall is looo's parametric pants.

Beside that, I think there are older examples (several years old) of people designing shoes using parametric curves.
Always add the important information to your posts if you need help.
To support the documentation effort, and code development, your donation is appreciated: paypal.
adrianinsaval
Posts: 343
Joined: Thu Apr 05, 2018 5:15 pm

Re: Feature requests: Enabling FreeCAD for sewing pattern making

Postby adrianinsaval » Wed Apr 22, 2020 12:04 am

xorx wrote:
Tue Apr 21, 2020 8:20 pm
[*] 2D Offset tool in sketcher: This is allready in work.
Is there a forum topic of this that I missed? :o this something I really want.
User avatar
xorx
Posts: 9
Joined: Tue May 02, 2017 8:30 am
Location: Cologne

Re: Feature requests: Enabling FreeCAD for sewing pattern making

Postby xorx » Wed Apr 22, 2020 9:45 am

adrianinsaval wrote:
Wed Apr 22, 2020 12:04 am
xorx wrote:
Tue Apr 21, 2020 8:20 pm
[*] 2D Offset tool in sketcher: This is already in work.
Is there a forum topic of this that I missed? :o this something I really want.
I found a comment on that in this post: Work in progress for version 0.19.
User avatar
Kunda1
Posts: 7679
Joined: Thu Jan 05, 2017 9:03 pm

Re: Feature requests: Enabling FreeCAD for sewing pattern making

Postby Kunda1 » Wed Apr 22, 2020 11:15 am

xorx wrote:
Wed Apr 22, 2020 9:45 am
adrianinsaval wrote:
Wed Apr 22, 2020 12:04 am
Is there a forum topic of this that I missed? :o this something I really want.
I found a comment on that in this post: Work in progress for version 0.19.
issue #3708 "Add an Offset tool to the Sketcher"
I notated the ticket with other forum threads discussing this issue (including this one).
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
vocx
Posts: 4637
Joined: Thu Oct 18, 2018 9:18 pm

Re: Feature requests: Enabling FreeCAD for sewing pattern making

Postby vocx » Wed Apr 22, 2020 7:08 pm

xorx wrote:
Wed Apr 22, 2020 9:45 am
I found a comment on that in this post: Work in progress for version 0.19.
That proposal was assigned to abdullah, who's the main developer of the sketcher (issue #3708).

However, abdullah was basically absent for the entirety of the 0.19 development cycle. I haven't heard him say anything about this. So, unless he makes some public announcement, I doubt he has even worked on this feature since he posted in the tracker.
abdullah wrote: ping
Is the Sketcher Offset tool ready for 0.19, oh, grand master of the Sketcher?
Last edited by vocx on Fri Apr 24, 2020 6:16 pm, edited 1 time in total.
Always add the important information to your posts if you need help.
To support the documentation effort, and code development, your donation is appreciated: paypal.
abdullah
Posts: 3520
Joined: Sun May 04, 2014 3:16 pm

Re: Feature requests: Enabling FreeCAD for sewing pattern making

Postby abdullah » Fri Apr 24, 2020 6:00 am

vocx wrote:
Wed Apr 22, 2020 7:08 pm
Is the Sketcher Offset tool ready for 0.19, oh, grand master of the Sketcher?
No. Sorry! :cry:

The thing is that I do miss that functionality and I would love to implement it.

ATM, I am at about 10% capacity, which I have decided to use for Sketch PR review and helping integrate ConstraintSolver in the Sketcher. This means that major Sketcher development from my side is on-hold.

Hopefully I will be able to recover some capacity for 0.20 development cycle.
vocx
Posts: 4637
Joined: Thu Oct 18, 2018 9:18 pm

Re: Feature requests: Enabling FreeCAD for sewing pattern making

Postby vocx » Fri Apr 24, 2020 6:18 pm

abdullah wrote:
Fri Apr 24, 2020 6:00 am
No. Sorry! :cry:
Okay, that clarifies things for xorx.
Always add the important information to your posts if you need help.
To support the documentation effort, and code development, your donation is appreciated: paypal.