LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-26-2014, 09:12 PM   #1
mayhew
LQ Newbie
 
Registered: Sep 2011
Posts: 13

Rep: Reputation: Disabled
scripted drawing : sugestions and reccomendations


ive been thinking about making sewing pattern scripts. they would take in measurements and output a image (bmp, png, or svg). im sure most scripting languages would work for calculating the points for the pattern but i dont know what to use to export the image. any advice would be appriciated.
 
Old 10-27-2014, 06:18 AM   #2
qlue
Member
 
Registered: Aug 2009
Location: Umzinto, South Africa
Distribution: Debian 12 (Bookworm)
Posts: 747
Blog Entries: 1

Rep: Reputation: 172Reputation: 172
This sound like a good use-case for svg. Svg is just an xml file with .svg as it's extension.
You can read all about the details over at the w3schools SVG tutorial.

ImageMagick, which is a collection of tools related to image processing, can be used to perform a huge array of different image manipulations including creating an image from scratch. However, if you haven't used it before there's a lot of reading to do before you can competently use these tools in a script.
(but don't let that scare you!)
 
Old 10-27-2014, 06:28 AM   #3
qlue
Member
 
Registered: Aug 2009
Location: Umzinto, South Africa
Distribution: Debian 12 (Bookworm)
Posts: 747
Blog Entries: 1

Rep: Reputation: 172Reputation: 172
P.S: If you want to do this as an open-source project, I'd be very interested in participating. I don't know anything about sewing patterns, but I'd be willing to learn.
 
Old 10-27-2014, 05:08 PM   #4
mayhew
LQ Newbie
 
Registered: Sep 2011
Posts: 13

Original Poster
Rep: Reputation: Disabled
absolutely open source. I'm surprised there isn't something like it already. also I'd be great full for your assistance

I'll look into the svg tutorial you posted and I was hoping to use imageMagick to export the gimp-editable image. i was also thinking of making it easily openable with OO.org/LO.org draw for scaleable coloring. I hope to use the patterns on spoonflour, a fabric printing company.
 
Old 10-28-2014, 04:10 AM   #5
qlue
Member
 
Registered: Aug 2009
Location: Umzinto, South Africa
Distribution: Debian 12 (Bookworm)
Posts: 747
Blog Entries: 1

Rep: Reputation: 172Reputation: 172
Is this the spoonflower you're referring to?

From what I can see they merely take a graphic and print it to fabric.

If I understood you correctly the first time, what you want to do is create a script to do what this website charges for.

What I have in mind here is to design a single piece of software that can take parameters from a pattern file, combine that with measurements input by the end user and output the result.
This is a better way than separate scripts for each pattern.

It would be easier to write a few scripts if you only have one or two patterns, but you'd need to write a new script for each new pattern and that's re-doing work that you've already done.

By starting with a base program that reads a configuration file, you get a true CAD application that others can contribute to even if all they can contribute is a few patterns.
 
Old 10-28-2014, 01:53 PM   #6
mayhew
LQ Newbie
 
Registered: Sep 2011
Posts: 13

Original Poster
Rep: Reputation: Disabled
yep that is the spoonflower im talking about. they allow large images to be printed on to fabric. such as a pattern. so instead of wrestling with keeping the fabric flat durring pattern transfer one can print the pattern directly on the fabric. plus one could take the pattern and digitally color inside it. giving full customization to the graphic.

plus when printed, the fabric that's not used could be recycled easier because its not been inked.

as to http://sewingpatterns.com/ , yes the program/script would make the digital version of those which could be printed on anything. paper. sheet plastic, even wood to than be reusable until the medium breaks.

i also agree w/you that a solid program to process scripts would be good, however i plan to start with a simple script or 2 to code out the logic and get a finished product than figure out what is the same and what is different. i find working on somthing which needs not be compiled to test helps with brainstorming. so using scripting as a computable form of psuedo code ^.^
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
scripted backup ? bjh DamnSmallLinux 2 01-19-2009 09:09 AM
Distro sugestions robingazi Linux - Newbie 3 01-14-2007 01:02 PM
Scripted email doctorwebbox Linux - Software 12 05-19-2005 09:40 AM
ups sugestions amadkow General 4 02-23-2005 07:23 PM
Scripted Install donaldsolberg Mandriva 1 10-15-2004 09:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration