by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 16:34
    dependabot-preview[bot] synchronize #719
  • 16:34

    dependabot-preview[bot] on npm_and_yarn

    build(deps): bump gatsby-plugin… (compare)

  • 16:34
    dependabot-preview[bot] synchronize #720
  • 16:34
    dependabot-preview[bot] synchronize #722
  • 16:34

    dependabot-preview[bot] on npm_and_yarn

    build(deps): bump gatsby-plugin… (compare)

  • 16:34

    dependabot-preview[bot] on npm_and_yarn

    build(deps): bump gatsby-remark… (compare)

  • 16:34
    dependabot-preview[bot] edited #719
  • 16:34
    dependabot-preview[bot] edited #720
  • 16:34
    dependabot-preview[bot] synchronize #708
  • 16:33

    dependabot-preview[bot] on npm_and_yarn

    build(deps): bump react-dropzon… (compare)

  • 16:33
    dependabot-preview[bot] edited #722
  • 16:33
    dependabot-preview[bot] synchronize #647
  • 16:33

    dependabot-preview[bot] on npm_and_yarn

    build(deps): bump remark from 1… (compare)

  • 16:33
    dependabot-preview[bot] synchronize #721
  • 16:33

    dependabot-preview[bot] on npm_and_yarn

    build(deps): bump gatsby-plugin… (compare)

  • 16:33
    dependabot-preview[bot] edited #708
  • 16:33
    dependabot-preview[bot] edited #647
  • 16:33
    dependabot-preview[bot] edited #721
  • 16:33
    dependabot-preview[bot] synchronize #715
  • 16:33

    dependabot-preview[bot] on npm_and_yarn

    build(deps): bump @mdx-js/react… (compare)

astrofolk
@astrofolk
found this tidbit on the archived web today and thought y'all might enjoy :: http://www.ilaniowear.com/patterns/index.html
the source files are in photoshop format but i can convert them to pdf or whatever and rehost them myself, i'd think adding costumes / rave fashion / etc would be a fun venture for the project ?? :3
Joost De Cock
@joostdecock
Cool, thanks for the link @astrofolk !
Emmanuel Nyachoke
@enyachoke
Inkscape.jpeg
Plotter.jpeg
EasyCut.jpeg
Kieran Klaassen
@kieranklaassen
very cool!
Maybe you can write something with instructions on the website
or a blog post
Emmanuel Nyachoke
@enyachoke
So finally my plotter came in yesterday. I have been testing it out using Breanna and I have notice some Interesting things. The first picture was plotted using inkscape as you can see it just ignored all the text. For the second one I did it with easycut studio which is a paid software as you can see it has more details than the first pieces. There is a catch here though the plot on the last image took 30 minutes to create the first pieces took less than 5. So as much as inkscape is faster at plotting it just ignores anything that is not a path. I did try inkcut which produced similar results as the last image in less time but it kept crashing midway and I haven't a complete ploy with it.

Maybe you can write something with instructions on the website

I need to play around with it a little and find a good setup that works reliably before I can document the process properly. Also not sure how feasible it is to generate an svg with everything represented as a path so as to avoid an extra step of converting the text to paths.

Kieran Klaassen
@kieranklaassen
keep us posted! I think its interesting what you are trying out
Emmanuel Nyachoke
@enyachoke
Also here is a my first attempt at plotting the complete svg. The plotter just plotted all the 3 pieces on top of each which meant to get a clean plot I had to download the pieces separately and plot them on at a time.

keep us posted! I think its interesting what you are trying out

I sure will, the interesting bit about this is you can get a roll of craft paper and plot your patterns without having to join even for larger patterns like dresses.

Emmanuel Nyachoke
@enyachoke
And the slow burn that is easycut studio.
Joost De Cock
@joostdecock
Damn, I need that in my life!
But I think I wouldn't want it to plot the text. Easier to just write on it, no?
Emmanuel Nyachoke
@enyachoke

But I think I wouldn't want it to plot the text. Easier to just write on it, no?

😁😁😁 try tell that to my handwriting.

Emmanuel Nyachoke
@enyachoke
Anyway when it comes to plotting the main paths without text Inkscape does a good job natively so no fancy post processing need.
Emmanuel Nyachoke
@enyachoke
Though I also realised inkscape also skips notches which i believe in not ideal. At this point my best shot for something free is inkcut but I will have to sort a bug that caused a crash midway through plotting.
Joost De Cock
@joostdecock
There's also another option: Export a version of the pattern that is optimized for plotters.
Inkscape skips notches because they are rendered as SVG <use /> elements.
It's certainly possible to write a plugin that would add a custom render method for notches that would instead draw a path to mark a notch.
Joost De Cock
@joostdecock
I have looked around for info on this plotter (a bit) but didn't find much so far :|
Emmanuel Nyachoke
@enyachoke
So the plotter I have is a Redsail 720c it is made in china. So most of vinyl cutter/plotters use https://en.wikipedia.org/wiki/HP-GL and the information is sent over a serial connection. In my country the are widely used for vinyl cutting and branding. You can find different models on Aliexpress https://www.aliexpress.com/wholesale?catId=0&initiative_id=AS_20200503022213&SearchText=vinyl+cutting+plotter. Though my experience with buying stuff there is that sometimes the shipping is super slow and you may have to be patient. An alternative is to find someone selling them locally chances are they have whitelabled them from china so don’t expect the same brand name.
Joost De Cock
@joostdecock
I'll have to look into it. Software compatibility is a bit of a question mark, as I only use Linux.
In other news, here's an example of how to add your own translations to the dev environment: https://github.com/freesewing/freesewing/blob/titan/packages/titan/example/src/App.js#L14
If memory serves me right, you asked about that. It's been added since 2.6.0 but this is the first time I've used it myself.
Emmanuel Nyachoke
@enyachoke
Yeah I had asked about adding custom translations. I will check it out. For the plotter compatibility am currently using a Mac with inkscape but I also have the option of commercial software. I have a machine with ubuntu on it am pretty sure it will work just the same with Inkscape but to the best of my knowledge your only viable options to drive this plotters on linux is inkscape and inkcut which is pretty buggy btw. I can test it with linux and let you know. If you want/need any features that are not in the these you pretty much have to write something that does it 😁😁.
Emmanuel Nyachoke
@enyachoke
Also most of this plotters use a very common chip https://cdn.sparkfun.com/datasheets/Dev/Arduino/Other/CH340DS1.PDF . Which is the same one used by Arduino so drivers should not really be an issue.
Joost De Cock
@joostdecock
That's good to know, tx
Florent GIRAUD
@Rufus31415

I've just seen this discussion about plotters, I've also been thinking about it for some time. My girlfriend is passionate about sewing. I'm developing her a software where she can customize her patterns. I have 3 big projects:

  • Generating custom patterns. It's done for example: https://hautlesfils.fr/le-haut/

  • have a 3D rendering: I'm thinking about using a WebGL component (is not a priority)

  • and especially have a plotter. I'm thinking of building a polargraph based on Arduino (a kinematics of this kind : https://youtu.be/KsL9uxfWHoo). I'm thinking of writing directly on the fabric with a special erasable felt pen. That way, no more paper. I'm going to equip my application with a special json export which will be read by my plotter to draw the useful lines. I have ordered the stepper motors, the controller, the belts. I started drawing it. I will print in 3D the first prototype in the coming days.

Joost De Cock
@joostdecock
dayum @Rufus31415 that sounds awesome
Please keep us posted on what's needed on the FreeSewing side. I'm sure you are perfectly capable of doing what it takes to get the plotter output you need, but I'd also be happy to integrate it in the form of a plugin
Emmanuel Nyachoke
@enyachoke
@Rufus31415 can't wait to see the completed project.
Emmanuel Nyachoke
@enyachoke

It's certainly possible to write a plugin that would add a custom render method for notches that would instead draw a path to mark a notch.

Took a crack at this. Would this work?

import { name, version } from '../package.json';
import freesewing from '@freesewing/core'
const Point = freesewing.Point
const Path = freesewing.Path
export default {
    name,
    version,
    macros: {
        notch: function (so) {
            /*
            https://stackoverflow.com/questions/1734745/how-to-create-circle-with-b%C3%A9zier-curves
            */
            let size = 25
            const drawBezierOvalQuarter = function (centerX, centerY, sizeX, sizeY) {
                let circlePath = new Path()
                    .move(
                        new Point(centerX - (sizeX),
                            centerY - (0))
                    ).curve(
                        new Point(centerX - (sizeX),
                            centerY - (0.552 * sizeY)),
                        new Point(centerX - (0.552 * sizeX),
                            centerY - (sizeY)),
                        new Point(centerX - (0),
                            centerY - (sizeY))
                    );
                return circlePath
            }
            const drawBezierOval = function (centerX, centerY, sizeX, sizeY, pathPrefix) {
                let paths = {}
                paths[pathPrefix + 'quarter1'] = drawBezierOvalQuarter(centerX, centerY, -sizeX, sizeY)
                paths[pathPrefix + 'quarter2'] = drawBezierOvalQuarter(centerX, centerY, sizeX, sizeY);
                paths[pathPrefix + 'quarter3'] = drawBezierOvalQuarter(centerX, centerY, sizeX, -sizeY);
                paths[pathPrefix + 'quarter4'] = drawBezierOvalQuarter(centerX, centerY, -sizeX, -sizeY);
                return paths;
            }

            const drawBezierCircle = function (centerX, centerY, size, pathPrefix) {
                return drawBezierOval(centerX, centerY, size, size, pathPrefix)
            }

            let outerCircle = drawBezierCircle(so.anchor.x, so.anchor.y, size, 'outer')
            let innerCircle = drawBezierCircle(so.anchor.x, so.anchor.y, size / 2, 'inner')

            this.paths = { ...this.paths, ...outerCircle }
            this.paths = {...this.paths,...innerCircle}
        }
    }
}
Emmanuel Nyachoke
@enyachoke

This draws back notch as well.

import { name, version } from '../package.json';
import freesewing from '@freesewing/core'
const Point = freesewing.Point
const Path = freesewing.Path
export default {
    name,
    version,
    macros: {
        notch: function (so) {
            /*
            https://stackoverflow.com/questions/1734745/how-to-create-circle-with-b%C3%A9zier-curves
            */
            let size = 25
            const drawBezierOvalQuarter = function (centerX, centerY, sizeX, sizeY) {
                let circlePath = new Path()
                    .move(
                        new Point(centerX - (sizeX),
                            centerY - (0))
                    ).curve(
                        new Point(centerX - (sizeX),
                            centerY - (0.552 * sizeY)),
                        new Point(centerX - (0.552 * sizeX),
                            centerY - (sizeY)),
                        new Point(centerX - (0),
                            centerY - (sizeY))
                    );
                return circlePath
            }
            const drawBezierOval = function (centerX, centerY, sizeX, sizeY, pathPrefix) {
                let paths = {}
                paths[pathPrefix + 'quarter1'] = drawBezierOvalQuarter(centerX, centerY, -sizeX, sizeY)
                paths[pathPrefix + 'quarter2'] = drawBezierOvalQuarter(centerX, centerY, sizeX, sizeY);
                paths[pathPrefix + 'quarter3'] = drawBezierOvalQuarter(centerX, centerY, sizeX, -sizeY);
                paths[pathPrefix + 'quarter4'] = drawBezierOvalQuarter(centerX, centerY, -sizeX, -sizeY);
                return paths;
            }

            const drawBezierCircle = function (centerX, centerY, size, pathPrefix) {
                return drawBezierOval(centerX, centerY, size, size, pathPrefix)
            }

            const drawX = function (centerX, centerY, size) {
                let xSize = size/2
                let xPath = new Path()
                    .move(new Point(centerX - xSize, centerY - xSize))
                    .line(new Point(centerX + xSize, centerY + xSize))
                    .move(new Point(centerX + xSize, centerY - xSize))
                    .line(new Point(centerX - xSize, centerY + xSize))
                return xPath;
            }
            const drawBezierCircleWithX = function (centerX, centerY, size, pathPrefix) {
                let paths = drawBezierOval(centerX, centerY, size, size, pathPrefix)
                paths[pathPrefix + 'circleX'] = drawX(centerX, centerY, size, pathPrefix)
                return paths
            }

            if (so.bnotch) {
                let backNotch = drawBezierCircleWithX(so.anchor.x, so.anchor.y, size, 'backNotch')
                this.paths = { ...this.paths, ...backNotch }
            } else {
                let outerCircle = drawBezierCircle(so.anchor.x, so.anchor.y, size, 'outer')
                let innerCircle = drawBezierCircle(so.anchor.x, so.anchor.y, size / 2, 'inner')
                this.paths = { ...this.paths, ...outerCircle }
                this.paths = { ...this.paths, ...innerCircle }
            }
        }
    }
}

Usage

Notch

    macro('notch', {
      anchor: points.text,
      bnotch: true
    });

Back notch

    macro('notch', {
      anchor: points.text,
      bnotch: false
    });
Joost De Cock
@joostdecock
Looks good to me. I'd have to have a look at what happens when two plugins claim the same macro, and maybe it makes sense to leverage plugin-round for this.
Emmanuel Nyachoke
@enyachoke
Though to use the round plugin I still need to calculate the the points right? I was kind of hoping to have something that takes only a single point more like it work right now.
Joost De Cock
@joostdecock
Yes, but I was thinking you could do that in your plugin. But it's not that important, the code duplication is minimal
alaskanb3arcub
@alaskanb3arcub_twitter
Question: where do we submit ideas for designs?
alaskanb3arcub
@alaskanb3arcub_twitter
in particular, this design fora face mask that lends itself to customization: https://fabricninja.com/wp-content/uploads/Annas-Fitted-Vet-Mask.pdf
Emmanuel Nyachoke
@enyachoke
So I was finally able to sort the issues with inkcut and tried out plotting Aaron. https://youtu.be/cbkhs3ZSIsU
citadel-lewis
@citadel-lewis
Hi there I lodged an issue on github - the hugo hoodie wouldn't export with my measurements. I can see the comparison with standard sizes, but it throws an error when trying to view/download the pattern. Is there anything I can do to get it to work?
Patrick Forringer
@destos
Anyone here do much 3D printing? I’ve previously experimented with printing flexible clasps using certain flexible filaments with success. Have a new design that is needing clasps so am designing some new ones.
Screen Shot 2020-05-20 at 8.06.13 PM.png
Patrick Forringer
@destos
I release most things open source, so files will be available when it’s done.