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.
Simply put the \PathGeometry directory that is in the .zip in your \packs directory.
it looks useful, thanks for sharing it.
but vvvv shows lots of red nodes, although nothing is missing. probably a known vvvv bug ?
you are right.
as soon as you look inside the subpatches they turn grey though.
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
wow. great tool. thx.
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:
Thanks for the contribution!
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.
This looks awesome!! Anyone else have issues using with beta26? (seems change node is broken for me?)
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 ? :)
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
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..
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.
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?
thanks for 1.2 update.
i have to remove this line from 2D.GeometryChange.csproj <Reference Include="cli_cppuhelper" /> and it works. thxs!
i get this error caused by a red change on two different machines. both on winXP 32bit:
e: on beta 26 and 25.1
very nice geometry kit , thanks , tested in beta26 works very well .
@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!
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
There's any chance to have this on beta27? :D
Red nodes in the girlpower and help patches, seems to be a file path problem
@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.
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....
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?
the ones that work I can replace, but not the ones that don't
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
Joreg asked for both a hover and a double click
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
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.
i´ve installed OpenOffice and no more red nodes hehehe
same here ...
maybe include the dll?
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.
adding cli_cppuhelper.dll to vvvv_45beta34.2_x64\lib\core also works
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.
Waw, I'm preparing a laser mapping project (100% vectors) and this contribution is incredibly useful, thanks a lot velcrome, this is sooooo cool !!
Is there such thing as a "line" element, spreadable like the rectangle and ellipse object ?