Jump to content

Parallel Lines and Patterns


Recommended Posts

Does anyone have a copy of the v1.6 zip?

Link to comment
Share on other sites

Thank you! Added link to zipped DLL to the first post.

Link to comment
Share on other sites

  • 1 month later...

File: C:\Program Files\paint.net\Effects\ParallelLines.Effect.dll
      Name: OptionBasedEffects.ParallelLinesEffect
      Version: 1.6.0.575
      Author: Martin Osieka
      Copyright: © 2014-2015, ComSquare AG, Switzerland
      Website: http://forums.comsquare.ch/viewforum.php?title=Paint.NET Tools
      Full error message: PaintDotNet.WorkerThreadException: Worker thread threw an exception ---> System.ArgumentException: Parameter is not valid.
   at System.Drawing.Drawing2D.GraphicsPath.AddBeziers(PointF[] points)
   at OptionBasedEffects.LinePaths.CreateSineWavePath(Single len, Single period, Single amplitude, Single splitPercent)
   at OptionBasedEffects.ParallelLinesEffect.RenderRectangle(Surface dst, Surface src, Rectangle renderRect)
   at OptionBasedEffects.ParallelLinesEffect.OnRender(Rectangle[] rois, Int32 startIndex, Int32 length)
   at PaintDotNet.Effects.Effect`1.Render(EffectConfigToken parameters, RenderArgs dstArgs, RenderArgs srcArgs, Rectangle[] rois, Int32 startIndex, Int32 length) in D:\src\pdn\src\Effects\Effect`1.cs:line 98
   at PaintDotNet.Effects.BackgroundEffectRenderer.RenderWithClipMask(Effect effect, EffectConfigToken token, RenderArgs dstArgs, RenderArgs srcArgs, Rectangle[] rois, IRenderer`1 clipMaskRenderer) in D:\src\pdn\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:line 170
   at PaintDotNet.Effects.BackgroundEffectRenderer.RendererContext.RenderTile(EffectConfigToken token, Int32 tileIndex) in D:\src\pdn\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:line 150
   at PaintDotNet.Effects.BackgroundEffectRenderer.RendererContext.RenderNextTile(EffectConfigToken token) in D:\src\pdn\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:line 142
   at PaintDotNet.Effects.BackgroundEffectRenderer.ThreadFunction() in D:\src\pdn\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:line 239
   --- End of inner exception stack trace ---
   at PaintDotNet.Effects.BackgroundEffectRenderer.DrainExceptions() in D:\src\pdn\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:line 418
   at PaintDotNet.Effects.BackgroundEffectRenderer.Abort() in D:\src\pdn\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:line 374
   at PaintDotNet.Effects.BackgroundEffectRenderer.Start() in D:\src\pdn\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:line 320
   at PaintDotNet.Menus.EffectMenuBase.<>c__DisplayClass42_4.<RunEffectImpl>b__2() in D:\src\pdn\src\PaintDotNet\Menus\EffectMenuBase.cs:line 964

 

It's happened to me multiple times.
 

Edited by Woodsy
Link to comment
Share on other sites

57 minutes ago, Woodsy said:

So, nobody has a clue why this happens?

Based on the stack trace you posted, I would guess that the number of points (x,y  points) the plugin is trying to use for a bezier curve is invalid.

So, a programming oversight.  i.e.  The number of points ought to be validated before trying to render a bezier curve with them.

Link to comment
Share on other sites

  • 9 months later...
38 minutes ago, xod said:

Repro:

1. Choose Orientation tab
2. Reference Scale -  Factor : move the slider to minimum value or near
3. Apply

 

Yup.

System.ArgumentOutOfRangeException: Value of '0.25' is not valid for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'.

 

Hopefully @Martin Osieka will come back to the forums sometime, and fix the past few reported crashing bugs.

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...

Ok, I have read all of the pages for this plugin. I'm not a software writer, so, if the stuff that was written on the first page was something to do with what I'm going to ask about, and all that code writing that went with it, that part lost me. However, this is a very cool plugin and at the bottom of it, one has an option to "LOAD" what looks like an .xml file. Can we convert our created .xaml shape files to .xml to load more cool shapes into it? Can it be rewritten for the menu to load .xaml files from the shapes folder? How do we get more .xml files to load to it for adding more design patterns like the Christmas tree he added?

Link to comment
Share on other sites

  • 3 weeks later...

So, I didn't read every post on every page on this thread but I did skim over them. I didn't see anything about this so I'm going to ask about it. When I use this plugin, using 300 dpi, I wanted to make a sheet full of parallel vertical lines. Every time I do, kind of near the center, is always this noticeable rectangle. I guess to get rid of it the only solution is to copy and paste a cut out of a squared normal area, do my best to try to line it up and put it on top of the lone rectangle, to hide it? It's 12" x 12" at 300 dpi.

 

Can't we get rid of that rectangle that's kind of near the center of the paper? The lines I make are not fat/wide. They are thin.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...