thanks a lot for this set of nodes, the new release looks full of new useful features.
A few things, the polyline and polygon nodes export the same kind of geometry, looking at booth .svg files i can see the same geometry command <polygon points="…"
It would be nice to have a real line or polyline file in order to draw only the stroke, not the fill.
Other way would be using quad svg node through transformations to draw the same geometry, but i think is cleaner the line or polyline method.
I was taking a look at the renderer svg help file and after to swith a few times between Files content and Renderer content directly, i have this error.
Sorry it is in Spanish.
Ari
Consulte el final de este mensaje para obtener más detalles sobre cómo invocar a la depuración
Just-In-Time (JIT) en lugar de a este cuadro de diálogo.
************** Texto de la excepción **************
System.OutOfMemoryException: Memoria insuficiente.
en System.Drawing.Graphics.CheckErrorStatus(Int32 status)
en System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y, Int32 width, Int32 height)
en System.Drawing.Graphics.DrawImage(Image image, Rectangle rect)
en System.Windows.Forms.PictureBox.OnPaint(PaintEventArgs pe)
en System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
en System.Windows.Forms.Control.WmPaint(Message& m)
en System.Windows.Forms.Control.WndProc(Message& m)
en System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
en System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
thanks, good findings! if you have the ability, you can delete the list of referenced .dlls, the call stack is enough. then we dont have to scroll that much.
the polyline also has a fill in SVG, to draw only the outlines you would set the alpha of the fill color to 0, in that case the svg fill set to ‘none’.
And other one, i think the same than the first one.
System.OutOfMemoryException: Memoria insuficiente.
en System.Drawing.Graphics.CheckErrorStatus(Int32 status)
en System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y, Int32 width, Int32 height)
en System.Drawing.Graphics.DrawImage(Image image, Rectangle rect)
en System.Windows.Forms.PictureBox.OnPaint(PaintEventArgs pe)
en System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
en System.Windows.Forms.Control.WmPaint(Message& m)
en System.Windows.Forms.Control.WndProc(Message& m)
en System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
en System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
I have a question regarding the GetPath function.
If I use it on a circle it always returns 12xy positions (actually 13, but circle is obviously closed). Is there a way to render more points on curves and circles? And on lines?
I am thinking of a behaviour like typo-spread, where you can set a spreadcount / resolution.
Ideal would also be a definition of a resolution not by an absoulte spreadcount, but by a distance between points.
I know this is probably a completely different thing, though …
Had started such an SVGSpread node with Vux more than a year ago, but that project somehow fell asleep. Nevertheless I still need that function.
regarding to draw fill content with alpha=0, it can work perfect in small drawings, but i still think that a better approach to draw big files based on lines, would be using Line or Polyline.
Less data in the file, less pain for illustrator.
or am i wrong?
Renderer SVG Help now crashes when i switch between Files content and Renderer content directly, when file.svg doesn´t exist.
for some time I have been wanting to get into some generative prints so, this could not have come at a better time.
one thing I have come across that I can not determine if it is supposed to be that way is that it seems that the Y-axis is upside down compared to the regular EX9 renderer.
shouldnt the same transform give the same outcome in both types of renderer?
now please check the memory things and crashes again.
@eno
the path output reflects the internal drawing path, which uses spline representation. so what you get is parts of a curve with control points. the type tells you whether it is a start/end or curve point.
to get a typo spread like output one has to calc the curves. wasn’t into that yet, but maybe the path type we use can do such things.
@sunep
yes, the y-axis is in standard 2d drawing space. the problam was text display. for now you have to flip it yourself using transforms if you really need the same space.
@sebl
never had that problem, pleas try with the latest alpha again.
@eno
good news, the GetPath node now has a feature to convert the curves to line segments. there is a value to adjust the approximation error. i dont think that the points are equidistant, but its the first step and was easy to implement.
Flattening and approximation work great.
Curve rendering from Illustrator, too.
Pretty close to TypoSpread. Writing and Equidistance Node for Spreads should be doable.
Many thanks!
there is something strange with the svg nodes.
if i open a new patch in b27, the svg nodes are not found in the nodelist (see image). but, if i open a patch that has them (eg. a help patch), then they show correctly, work, and in these patches they are also found in the nodelist :?