-
-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom Shapes - feature request #57
Comments
Hmmmmmm . Yes you can. If you run the source code (java script) as local
server.. i have modified some designs using some mathematical formula..
…On Tue 13 Nov, 2018, 9:56 AM jaygrovr ***@***.*** wrote:
Is there a way to easily add some more base shapes like, a star, pentagon,
rounded triangle and some other shapes? Would be cool to be able to draw
something inside a space and have it repeat out those shapes like it
currently does with a square or triangle.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#57>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/Ai1QI3xIVzSZNgxXBbopgY8j_VveNERbks5uukoBgaJpZM4Ya5Ig>
.
|
Is it easy to setup my own server running this? I dont have a lot of experience with java. I had been using the publicly served version.
Thanks
Jason
On Monday, November 12, 2018, 11:31:23 PM EST, Mahelumi <notifications@github.com> wrote:
Hmmmmmm . Yes you can. If you run the source code (java script) as local
server.. i have modified some designs using some mathematical formula..
On Tue 13 Nov, 2018, 9:56 AM jaygrovr ***@***.*** wrote:
Is there a way to easily add some more base shapes like, a star, pentagon,
rounded triangle and some other shapes? Would be cool to be able to draw
something inside a space and have it repeat out those shapes like it
currently does with a square or triangle.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#57>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/Ai1QI3xIVzSZNgxXBbopgY8j_VveNERbks5uukoBgaJpZM4Ya5Ig>
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
There are instructions in the readme. They aren't very detailed. https://github.com/jeffeb3/sandify/blob/master/README.md For clarification, it's not java, it's JavaScript, running in node.js. I'm not being pedantic. I just don't want you googling things with java when you should be searching for node.js. |
Jeff, sorry to bug you, i installed the javascript and got it working but it doesnt have any new features compared to your website.
Jason
On Tuesday, November 13, 2018, 2:12:20 PM PST, Jeff Eberl <notifications@github.com> wrote:
There are instructions in the readme. They aren't very detailed.
https://github.com/jeffeb3/sandify/blob/master/README.md
For clarification, it's not java, it's JavaScript, running in node.js. I'm not being pedantic. I just don't want you googling things with java when you should be searching for node.js.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
That's correct. Mahelumi suggested modifying the shapes code to make whatever shapes you want. If you have specific shapes you want, I can add them. There is already a star. |
The file to edit is src/input/Transforms.js Search for Triangle, and you'll see how I made that one. It should be simple to add more basic shapes. There is some code floating somewhere to make arbitrary side shapes. |
ok that is pretty cool, it autocompiles when i changed that code.. thanks..
Now to figure out how to make some wavy lines.. like the siphysus table..
thanks for your helpJason
On Tuesday, November 13, 2018, 4:27:22 PM PST, Jeff Eberl <notifications@github.com> wrote:
The file to edit is src/input/Transforms.js
Search for Triangle, and you'll see how I made that one. It should be simple to add more basic shapes.
There is some code floating somewhere to make arbitrary side shapes.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I did some work on a variable number of sides for either a regular polygon or a multi-pointed star.
Bill
Sent from my Verizon, Samsung Galaxy smartphone
…-------- Original message --------
From: jaygrovr <notifications@github.com>
Date: 11/12/18 8:27 PM (GMT-08:00)
To: jeffeb3/sandify <sandify@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Subject: [jeffeb3/sandify] feature request (#57)
Is there a way to easily add some more base shapes like, a star, pentagon, rounded triangle and some other shapes? Would be cool to be able to draw something inside a space and have it repeat out those shapes like it currently does with a square or triangle.
-
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#57>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AFnAOP09V8Wa_hnh0YokK7cMkCa7uJVCks5uukoBgaJpZM4Ya5Ig>.
|
I think it would be great to have another set of modifiers that do a radial offset, so instead of growing, you can take a shape and make a spiral of that shape while keeping that shape the same size. Is that possible?
Also, how do i change the number of points on the star. I cant seem to find that part.
Thanks
Jason
On Tuesday, November 13, 2018, 5:30:39 PM PST, Bill Seymour <notifications@github.com> wrote:
I did some work on a variable number of sides for either a regular polygon or a multi-pointed star.
Bill
Sent from my Verizon, Samsung Galaxy smartphone
…-------- Original message --------
From: jaygrovr <notifications@github.com>
Date: 11/12/18 8:27 PM (GMT-08:00)
To: jeffeb3/sandify <sandify@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Subject: [jeffeb3/sandify] feature request (#57)
Is there a way to easily add some more base shapes like, a star, pentagon, rounded triangle and some other shapes? Would be cool to be able to draw something inside a space and have it repeat out those shapes like it currently does with a square or triangle.
-
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#57>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AFnAOP09V8Wa_hnh0YokK7cMkCa7uJVCks5uukoBgaJpZM4Ya5Ig>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Oh, so not an offset, like in the top part, but an offset as a modifier. That's a good idea! The code for the star is in the same file (Transforms.js). IIRC, I generated the vertices first, using math, and then just insert them later. |
Yes you did! I need to finish that and merge it in. Sorry Bill. |
I think my code is in a separate section, not in production since I never figured out how to pass the number of vertices variable to it. The star code uses two variables, number of points and percentage of depth for the inner bits.
Bill
Sent from my Verizon, Samsung Galaxy smartphone
…-------- Original message --------
From: Jeff Eberl <notifications@github.com>
Date: 11/14/18 8:36 AM (GMT-08:00)
To: jeffeb3/sandify <sandify@noreply.github.com>
Cc: Bill Seymour <billsey@seymourfamily.com>, Comment <comment@noreply.github.com>
Subject: Re: [jeffeb3/sandify] feature request (#57)
Oh, so not an offset, like in the top part, but an offset as a modifier. That's a good idea!
The code for the star is in the same file (Transforms.js). IIRC, I generated the vertices first, using math, and then just insert them later.
-
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#57 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AFnAOFQ6-ImH5hpNG6ozBLL7DyydZZSFks5uvEZpgaJpZM4Ya5Ig>.
|
I worked on sandify a bunch today. I somehow figured out almost everything I was doing, and I was able to make some changes. I have dynamic sided polygons and dynamic pointed stars done (those are fun). Here is a list of things I think you've suggested that I haven't done. Please clarify if I missed any:
|
Variable depth for the points on stars. With the height set to 0% it's a regular polygon, at 100% the points are just lines from the center. I think the current star is about 50%.
Bill
Sent from my Verizon, Samsung Galaxy smartphone
…-------- Original message --------
From: Jeff Eberl <notifications@github.com>
Date: 11/15/18 9:15 PM (GMT-08:00)
To: jeffeb3/sandify <sandify@noreply.github.com>
Cc: Bill Seymour <billsey@seymourfamily.com>, Comment <comment@noreply.github.com>
Subject: Re: [jeffeb3/sandify] Custom Shapes - feature request (#57)
I worked on sandify a bunch today. I somehow figured out almost everything I was doing, and I was able to make some changes. I have dynamic sided polygons and dynamic pointed stars done (those are fun). Here is a list of things I think you've suggested that I haven't done. Please clarify if I missed any:
1. Rounded corner polygons, like a rounded triangle. I am a big fan of this, I just have to come up with some good math to make a shape like that. It should be a neat little project for someone.
2. (I'm generalizing here) Create a way to grow and spin the center of the shape, not just the vertices. In this way, the center of the shape would move away from the center of the machine, and spin around it, but the shape would remain the same size. I think this is another excellent idea. I think either a boolean button for the spin and rotate to affect the center or the points. But maybe even more interesting is another set of spin and rotate for the center, so it would support both.
3. Custom shape designs. A point and click interface for creating your own shapes. I think this is a good idea, and I want to support a builtin text editor for some custom shapes, but I'm not too interested in getting a point and click thing going. Maybe I'll change my mind later. If someone wants to pick this up, I'd be happy to work on getting it into sandify.
-
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#57 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AFnAOHnhTA3vA_jeb5ja42K3uvUIldF1ks5uvkm0gaJpZM4Ya5Ig>.
|
Good idea Bill. I haven't tried it yet, but I hope the way I designed the shape options I'll be able to do that easily. If so, it will be in the next release (with the multilobed circles). |
That would be amazing.
Jason
Sent from Yahoo Mail for iPhone
On Friday, November 16, 2018, 1:08 PM, Jeff Eberl <notifications@github.com> wrote:
Good idea Bill. I haven't tried it yet, but I hope the way I designed the shape options I'll be able to do that easily. If so, it will be in the next release (with the multilobed circles).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Is this code posted? If so, where?
ThanksJason
Sent from Yahoo Mail for iPhone
On Friday, November 16, 2018, 1:33 PM, Jeff Eberl <notifications@github.com> wrote:
Tada!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Sweet! Exactly what I was looking for.
Bill
Sent from my Verizon, Samsung Galaxy smartphone
…-------- Original message --------
From: Jeff Eberl <notifications@github.com>
Date: 11/16/18 1:34 PM (GMT-08:00)
To: jeffeb3/sandify <sandify@noreply.github.com>
Cc: Bill Seymour <billsey@seymourfamily.com>, Comment <comment@noreply.github.com>
Subject: Re: [jeffeb3/sandify] Custom Shapes - feature request (#57)
Tada!
[screenshot-2018-11-16-1542403961]<https://user-images.githubusercontent.com/1812882/48648427-8502cc80-e9ac-11e8-9e3d-b547ee6c183f.png>
-
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#57 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AFnAOHVfvh0KmBhM52kGigCPaGGozE6fks5uvy8bgaJpZM4Ya5Ig>.
|
It isn't posted yet. I'm in the middle of a larger update for polar machines. I am close to done. I'll post the new shapes stuff tonight or tomorrow. |
You work on the polar machines too? I need to build one.
Where can I find out more?
Jason
Sent from Yahoo Mail on Android
On Fri, Nov 16, 2018 at 4:28 PM, Jeff Eberl<notifications@github.com> wrote:
It isn't posted yet. I'm in the middle of a larger update for polar machines. I am close to done. I'll post the new shapes stuff tonight or tomorrow.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Posted. I don't know how to find a polar machine, except the sisyphus machines (and they aren't in my price range). |
Jeff didn't you say you were working on the code for a polar machine?
Jason
Sent from Yahoo Mail on Android
On Sat, Nov 17, 2018 at 9:35 PM, Jeff Eberl<notifications@github.com> wrote:
Posted. I don't know how to find a polar machine, except the sisyphus machines (and they aren't in my price range).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Jeff, now I understand, you were making software for the syphus table. I wish i knew someone that helped with the code for it. Having round patterns on a square table is not that great, thats why the round table is so nice..
Ok so next idea. Instead of rotating the pattern (which is great for a round table), is there a way to use a shape as a guide for the repeat of the pattern? Maybe start with a growing square?
Also would be cool if the filename had some automatic naming convention, that used the parameters entered to create the name. Specifically the start and end points, would be helpful when stitching gcodes together.
thanks guys, this is all amazing work.
Jason
On Saturday, November 17, 2018, 9:35:00 PM PST, Jeff Eberl <notifications@github.com> wrote:
Posted. I don't know how to find a polar machine, except the sisyphus machines (and they aren't in my price range).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Currently I save my file and add in_out or out_in. That way I know if the file homes (starts in the corner) or starts in the middle. Auto naming would be cool if it was easy or simple to implement. |
You can just set rotation to zero and the polygon you are using will just grow.
Bill
Sent from my Verizon, Samsung Galaxy smartphone
…-------- Original message --------
From: jaygrovr <notifications@github.com>
Date: 11/18/18 10:40 AM (GMT-08:00)
To: jeffeb3/sandify <sandify@noreply.github.com>
Cc: Bill Seymour <billsey@seymourfamily.com>, Comment <comment@noreply.github.com>
Subject: Re: [jeffeb3/sandify] Custom Shapes - feature request (#57)
Jeff, now I understand, you were making software for the syphus table. I wish i knew someone that helped with the code for it. Having round patterns on a square table is not that great, thats why the round table is so nice..
Ok so next idea. Instead of rotating the pattern (which is great for a round table), is there a way to use a shape as a guide for the repeat of the pattern? Maybe start with a growing square?
Also would be cool if the filename had some automatic naming convention, that used the parameters entered to create the name. Specifically the start and end points, would be helpful when stitching gcodes together.
thanks guys, this is all amazing work.
Jason
On Saturday, November 17, 2018, 9:35:00 PM PST, Jeff Eberl <notifications@github.com> wrote:
Posted. I don't know how to find a polar machine, except the sisyphus machines (and they aren't in my price range).
-
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
-
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#57 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AFnAOPunZLS9hKy2qc0c3OkxSAQo2qgFks5uwak0gaJpZM4Ya5Ig>.
|
I think what you're asking for would be good as a set of transforms on a path the shape would take. I think that's a good idea, but a pretty big change. I would need a good way to visualize it, and I was thinking of a dynamic chain of effects. It might end up being a ton of work though, I need to play with it. Another idea is being able to define any equation for the parameters. So instead of a growth of 2, you could make it a growth of 2*sin(t), or something. Then you could get some neat patterns as well. |
the latest version generates gcode with large numbers for x and y position even though my table is 400x400. I was doing a star with this config
G01 X2869.891 Y2790.906G01 X2791.436 Y2725.147G01 X2892.500 Y2712.343G01 X2892.500 Y2712.337G01 X2892.500 Y2712.324G01 X2794.309 Y2684.411G01 X2881.170 Y2631.556G01 X2780.331 Y2646.143G01 X2837.902 Y2562.624G01 X2752.011 Y2616.988G01 X2770.417 Y2517.477G01 X2714.344 Y2601.974G01 X2690.569 Y2503.854G01 X2673.925 Y2603.645G01 X2612.304 Y2523.977G01 X2637.799 Y2621.633G01 X2549.229 Y2574.184G01 X2612.228 Y2652.731G01 X2512.242 Y2645.601G01 X2601.610 Y2691.467G01 X2507.654 Y2725.703G01 X2607.720 Y2731.067G01 X2536.106 Y2800.518G01 X2629.416 Y2764.640G01 X2592.492 Y2857.056G01 X2662.849 Y2786.374G01 X2666.871 Y2885.572G01 X2702.149 Y2792.546
On Wednesday, November 14, 2018, 8:35:54 AM PST, Jeff Eberl <notifications@github.com> wrote:
Oh, so not an offset, like in the top part, but an offset as a modifier. That's a good idea!
The code for the star is in the same file (Transforms.js). IIRC, I generated the vertices first, using math, and then just insert them later.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
That looks an awful lot like #58, which I fixed (I think) today. |
Jeff, yes you did fix it today.. the updated version works great.. thanks again for your help.
jason
On Wednesday, November 21, 2018, 7:41:54 PM PST, Jeff Eberl <notifications@github.com> wrote:
That looks an awful lot like #58, which I fixed (I think) today.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Is it possible to be able to add a spiral to a shape path.. basically take a spiral (with parameters) then plot a shape, saw a square at repeated points along the spiral path? The path wont be printed, but its the road for the shape "Stamps" to be stamped on. Does that make sense? |
I thought that's what you were already asking for. I haven't started that yet. |
Yes sorry about the repeated request.
Sent from Yahoo Mail on Android
On Thu, Nov 29, 2018 at 9:37 AM, Jeff Eberl<notifications@github.com> wrote:
I thought that's what you were already asking for. I haven't started that yet.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I did part of the track and released it today. This doesn't have a big spiral as much as just the spin part for now. I will need to add some more buttons for things like changing the radius of the track for each loop. |
Hey Fellas, just a meager request from an old guy that turned a piece of furniture into a little sand table for his wife. Again, THANK-YOU for all the work you are doing on this project. It is truly AWESOME and Inspiring! |
Look at you getting a head start on this stuff... I will add that soon. Some members of my family have been asking for it too. :) |
Added. The thing that 99% of people won't know, and 90% of the remaining people won't appreciate is that this is a parametric equation:
|
Is there a way to easily add some more base shapes like, a star, pentagon, rounded triangle and some other shapes? Would be cool to be able to draw something inside a space and have it repeat out those shapes like it currently does with a square or triangle.
The text was updated successfully, but these errors were encountered: