» PathGeometry
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

PathGeometry

pack path boolean polyline polygon 2d

about

This repository introduces the PathGeometry from Windows.Media to vvvv. It helps you to manipulate 2d polylines.

  • It gives you 2 prototypes (rectangle and ellipse) and a way to create your own polygons.
  • It has tools to analyse polygons (area and bounds)
  • It comes with all the typical nodes you need to build applications (getslice, select, group, change, queue, s+h)
  • It has boolean operations to merge and mangle polygons.
  • It has helper modules to transform polygons into Layers and Meshes.
  • It has 3 kinds of hittests.
  • It has extensive helpfiles.

*

  • It is fully spreadable.
  • It is fast as lightning.
  • It is open and free.

Install:

Simply put the \PathGeometry directory that is in the .zip in your \packs directory.

Getting Started:

open

 \packs\PathGeometry\girlpower\Overview.v4p

download

PathGeometry51.7z
26.11.16 [04:00 UTC] by velcrome | 305 downloads
rechecking help patches and dll errors
Show 4 older revisions

Older Revisions

PathGeometry1.4.zip
08.01.16 [15:39 UTC] by joreg | 475 downloads
1.4 - added a spectral unify node
PathGeometry1.3.zip
28.09.15 [21:30 UTC] by joreg | 373 downloads
1.3 - updated for beta34.x
PathGeometry.zip
23.08.11 [13:36 UTC] by velcrome | 880 downloads
1.2 - Tested with beta26
PathGeometry.zip
12.07.11 [00:14 UTC] by velcrome | 784 downloads
V 1.0

lasal 12/07/2011 - 03:53

it looks useful, thanks for sharing it.

u7angel 12/07/2011 - 10:14

nice contribution

but vvvv shows lots of red nodes, although nothing is missing. probably a known vvvv bug ?

velcrome 12/07/2011 - 16:33

you are right.
as soon as you look inside the subpatches they turn grey though.

lasal 12/07/2011 - 17:49

After take a look, it´s very clean and responsive,
could it be possible to isolate the intersection points?.

btw: only works with the b25.1

thanks again.

hrovac 20/07/2011 - 15:36

wow. great tool. thx.

Lightmare 21/07/2011 - 17:55

This looks really great, I'm interested in doing some 2d animation and this looks very useful for it. When I try to use the 'Mesh' plugin included in the pack I get some odd results though. Does the PathGeometry package only support convex shapes? See here for an example of what I'm talking about:

sites/default/files/screenshot1311267163.png

Thanks for the contribution!

velcrome 21/07/2011 - 19:10

the package itself is good for all shapes but holed ones. it is only the mesh module (a combination of an earclipping plugin and vux' mesh join) that cannot handle all cases. especially with self intersecting polygons it will run into problems.

everyoneishappy 18/08/2011 - 11:54

This looks awesome!! Anyone else have issues using with beta26? (seems change node is broken for me?)

u7angel 18/08/2011 - 12:00

there was some discussion about changes of the plugininterface in the alpha chat of 26. i guess the easiest way is recomilation for 26...or publishing the code as dynamic plugins.

velcome ? :)

velcrome 18/08/2011 - 12:43

they are contributed as dynamic from day one ;)

sebl talked about problems in the alpha as well, but he was never able to say what was wrong

tonfilm 18/08/2011 - 14:43

btw.. the queue node could be done using the generic template from the AddonsCore.. this is just 3 lines of code and guarantees full specification compatibility as well as future feature updates: Queue.cs

in fact you could implement all of the nodes in the SpreadOperations assembly (Buffer, RingBuffer, Cons, Zip...) by just 3 lines..

velcrome 19/08/2011 - 10:08

I had quite a lot of moments of surprise with the awesome plugin interface. It has come such a long way since V1.

If it just had some decent tutorials, best practises and documentation, I guess a lot of people would realize how easy programming nodes is by now.

everyoneishappy 23/08/2011 - 06:35

so any tips as to what would make this work with b26? It seems like it's the 2d geometry change node that is breaking the others, but it will not even come up in the editor?

Edit:
@velcrome
thanks for 1.2 update.

liquid 24/08/2011 - 11:41

i have to remove this line from 2D.GeometryChange.csproj <Reference Include="cli_cppuhelper" /> and it works. thxs!

sebl 30/08/2011 - 12:25

i get this error caused by a red change on two different machines. both on winXP 32bit:

00:01:54  -  : Assembly of C:\vvvv\Contributions\PathGeometry\pluginsD.GeometryChangeD.GeometryChange.csproj is not up to date. Need to recompile ...
00:01:54  *  : Opening "C:\vvvv\Contributions\PathGeometry\pluginsD.GeometryChangeD.GeometryChange.csproj" caused exception: Compilation of C:\vvvv\Contributions\PathGeometry\pluginsD.GeometryChangeD.GeometryChange.csproj: CSProject failed. See errors below:
Metadata file 'cli_cppuhelper.dll' could not be found in :0
 
00:01:54  -  : To help us track this error down, enable the ExceptionDialog by either pressing CTRL + F10 or starting vvvv with /showexceptions.

e: on beta 26 and 25.1

colorsound 19/09/2011 - 18:59

very nice geometry kit , thanks , tested in beta26 works very well .

m4d 10/10/2011 - 20:18

@sebl: i had the same problem and resolved it by putting a cli_cppuhelper.dll obtained from rather dubious sources (but scanned for virii with onlinescanner) into the PathGeometry\plugins\2D.GeometryChange\bin directory.

also bigup to velcrome for this nice plug!

sebl 11/10/2011 - 08:30

good to know, that i'm not the only one...

but would be fine to elaborate how it comes – perhaps some of the users without problems can search for their (perhaps existing) cli_cppuhelper.dll

i'll test it as asap as possible – thanks

Luper 19/03/2012 - 10:24

There's any chance to have this on beta27? :D

sunep 28/09/2015 - 20:16

Red nodes in the girlpower and help patches, seems to be a file path problem

joreg 28/09/2015 - 20:32

@sunep: cannot confirm. but found a little bugger in one of the modules so i re-uploaded. and also removed all the \bin directories.. please try again.

sunep 28/09/2015 - 20:50

here it seems like something is wrong with the path on some of the nodes

EDIT: The red nodes expect it to be in \Plugins\blabla... but it should be: %VVVV%\packs\PathGeometry\nodes\plugins\blablabla....

joreg 28/09/2015 - 20:59

weird. for me they all reference from %VVVV%\packs.. on hover. what if you hover the ones that work? can you replace them on doubleclick?

sunep 28/09/2015 - 21:06

the ones that work I can replace, but not the ones that don't

velcrome 28/09/2015 - 23:04

hey joreg, thats a surprise to see that resurrected. kudos!
hey sunep, thats not a hover. thats a doubleclick.

...downloading pack, solid grey in alpha

sunep 28/09/2015 - 23:20

Joreg asked for both a hover and a double click

everyoneishappy 29/09/2015 - 05:25

Paths look fine here (@sunep do you have an old version sitting somewhere?)

I've some red nodes, but it seems to be related to the dll file mentioned above

motzi 09/01/2016 - 23:24

i had red nodes due to the missing cli_cppuhelper.dll (which apparently comes with OpenOffice?!) as well.

removing the corresponding reference in the .csproj files seems to have fixed the problem for me.

graphicuserinterface 25/02/2016 - 19:01

i´ve installed OpenOffice and no more red nodes hehehe

moco 23/11/2016 - 18:41
  • - - I´ve installed OpenOffice and no more red nodes. - - -

same here ...
maybe include the dll?

beyon 24/11/2016 - 11:23

Hmm, I guess I ought to look at this contribution as it seems to be very similar to what I've been working on in my spare time.

Will have to look into pros and cons of PathGeometry vs Clipper library.

antokhio 24/11/2016 - 16:05

adding cli_cppuhelper.dll to vvvv_45beta34.2_x64\lib\core also works

velcrome 26/11/2016 - 03:53

i could find three reference to such a dll. I am quite certain, it is of no use to the pack at all, so I took it out. one worry less!

i revisited all help patches and fixed the red nodes. in case something is still wrong, try to open the overview, and watch the nodes being replaced.

anonymous user login

Shoutbox

~17h ago

vnm: Does Intensity Pro 4K work with VideoIn(dx11)?

~5d ago

joreg: siggraph asia 2017 technical papers trailer: https://www.youtube.com/watch?v=3OGKh_9Rj_8

~6d ago

drupal_admin: we're back

~6d ago

drupal_admin: hello. maintenance reboot at 2:06am. save your work! should be back in a few minutes

~9d ago

tekcor: Following the steps of the current vvvv chat, we put up a vvvv.js dev support. https://riot.im/app/#/room/#vvvv.js:matrix.org