Browse Search Popular Register Upload Rules User list Login:
Search:
PolyMaker (Phunlettable)

Image:
screenshot of the scene

Author: The Linkage

Group: Default

Filesize: 73.78 kB

Date added: 2018-09-30

Rating: 6.5

Downloads: 1961

Views: 548

Comments: 9

Ratings: 4

Times favored: 1

Made with: Algodoo v2.1.0

Tags:

Scene tag

Makes a polygon out of a cyclic movement. Never make Wankel housings by hand again!

Hit "P" to see it do its job. Once it is done it'll spawn a polygon on mouse position

If you want to make it a phunlet, just save the green circle.
Last edited at 2018/10/06 02:47:59 by The Linkage
Please log in to rate this scene
edit
Similar scenes
Title: Color Picker
Rating: 5
Filesize: 47.33 kB
Downloads: 415
Comments: 4
Ratings: 1
Date added: 2018/09/23 19:25:45
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Engine Dyno v1.5r1 + demo
Rating: 6.8182
Filesize: 91.31 kB
Downloads: 1567
Comments: 11
Ratings: 5
Date added: 2020/04/26 07:06:23
Made with: Algodoo v2.1.0
Rating: rated 6.8
download
Title: GearMaker beta1 fix
Rating: 6.1111
Filesize: 53.74 kB
Downloads: 893
Comments: 2
Ratings: 3
Date added: 2018/03/29 20:47:28
Made with: Algodoo v2.1.0
Rating: rated 6.1
download
Nice work.:tup:
Awesome work.:tup:

I wonder if there is some little shortcut that Tecno-Guys use to make parts of those massive scripts though.:huh:
Your instruction says to "Attach the polymaker.....". Is the polymaker just that green circle and nothing else? :huh:
MasterGamer: No, at least not in my case. I just like coding, so I always start from scratch.


Xray, yep. only the green circle. I'll clarify that later.
Honestly I don't think it's too understandable, i'll have to rewrite most of it
The Linkage -- It would be helpful to anyone wanting to use the polymaker if you would show an example of how it should be used. For example, how to attach it, and where to attach it on various shapes. Also, maybe explain situations in which it will NOT work properly. Any other details would be helpful and appreciated.
Polygons... I still don't know how to work with them. I will study it from your stage - yours is easier to understand than Xray's and s_noonan's :lol: :tup:
Last edited at 2018/11/05 19:25:19 by RusInventor
I heard that!


:lol:
it's actually much easier than i thought - you have a main array, which defines the entire geometry itself (i.e. it says "this is the polygon"). Inside of it there are smaller arrays, and inside of these, there are points, which are even smaller arrays, like this:
[ [ [x,y],[x,y],[x,y] ] , [ [x,y],[x,y],[x,y] ] , [ [x,y],[x,y],[x,y] ] ]

Let's imagine that the first one defines a box (our polygon will be a box with one small box cutout). We can define a box with 4 points like this:

[[0,0],[0,1],[1,1],[1,0]]

Now, a box cutout would just be a box that fits inside that other box. Algodoo will figure this out automatically.

[[0.2,0.2],[0.4,0.2],[0.4,0.4],[0.­2,0.4]]

Then just put both of these arrays side by side like this;

[ [[0,0],[0,1],[1,1],[1,0]] , [[0.2,0.2],[0.4,0.2],[0.4,0.4],[0.2,0.4]] ]

and you get the shape


I experimented by making a poly, exporting the surfaces to excel, then just plotting the points
Xray This is not what you thought! No! :lol: :lol:

The Linkage big thanks. Now it became clearer. I also need to experiment with this. _o_