Skip to main content
Question

Parallel offset with no curve stroking?


Forum|alt.badge.img
I’m trying to emulate a CAD command for offset.  Essentially I want a parallel offset of a line with no curve stroking on the outside angle.  Similar to bufferer but with the ability to make the stroking density a value of 0.  Any easy way to do that?

10 replies

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • September 10, 2014
Can't u the use the bufferer and then coerce it to a line?

 

 

 


gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • September 10, 2014
btw, if u ofset it too far, it will distort the outer boundary and u won't get a good offsetline...

Forum|alt.badge.img
Thanks Gio,

 

I tried what you showed, and that works to connect the offset line nicely, however, on the outside offset, it is still a stroked curve.  I'm trying to achieve something like the red line below but on buffer, the minimum stroke density is 1 instead of 0.

 


gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • September 12, 2014
Hi Alan,

 

 

Here is one that does that.

 

 

 

 

 

 

It is build for a open ended polyline.

 

If u do this to closed u need add a loopfilter in the customtransformer prior to testfilter and send the loops to extender2.

 

 

(i'm trying now to build a lineintersector transformer (vector math, like the offset-affiner) so i can do away with the extending..)

 

Haves fun.

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • September 12, 2014
HI,

 

 

With a little fiddling i made one that handles closed and open polylines, even when they intersect.

 

 

 

 

It wont work for curves yet; comming soon!

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • September 12, 2014
better picture red are offsets, other lines are original polylines. Buffer is just for visuals.

 

 


Forum|alt.badge.img
Wow.  Looks like that does what i am needing.  I will play around with that to try and get it to work in my application.

 

Thanks Gio

umapper1
Contributor
Forum|alt.badge.img+5
  • Contributor
  • April 6, 2020

@gio @alan_surveyor did you ever get a workspace/custom transformer completed to do this? I'm looking to do this in one of my workspaces and all these years later there's still no offset tool to do this!


gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • April 6, 2020

ZeroStrokeOffsetter_V3_cleaned.fmwt@umapper1

 

 

Hi,

 

Here is the workspace i made.

I did update it to 2018 (and cleaned it a bit for you) and i not yield nice.

There is some English annotation there. Hope it helps.

 

Too big offset in relation to the object will of course not yield a desired output. (there is no in-built check for that)

 

Greets and stay healthy!

Gio

 


umapper1
Contributor
Forum|alt.badge.img+5
  • Contributor
  • April 6, 2020
gio wrote:

ZeroStrokeOffsetter_V3_cleaned.fmwt@umapper1

 

 

Hi,

 

Here is the workspace i made.

I did update it to 2018 (and cleaned it a bit for you) and i not yield nice.

There is some English annotation there. Hope it helps.

 

Too big offset in relation to the object will of course not yield a desired output. (there is no in-built check for that)

 

Greets and stay healthy!

Gio

 

Thanks very much @gio! It might help me in the interim. By the way, I've created an Idea on the forum to request a 3D parallel figure transformer to do what we're after if you'd like to upvote it?

https://knowledge.safe.com/content/idea/110729/parallel-figure-transformer.html


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings