Results 1 to 5 of 5

Thread: Spline copy parallel / offset script?

  1. #1
    Pronounced Inarticulate
    Join Date
    Apr 2003
    Location
    auf meinen Weg zum Horizont
    Posts
    947

    Spline copy parallel / offset script?

    Before I start tearing my hair out trying to script a spline offset tool, anyone got a script to do this that they could share?

    please help... I dont want to look like a smilie

    for 2d splines only

    tia
    Last edited by omeone; 09-30-2003 at 04:06 PM.

  2. #2
    Worms no more! Free fun! Dodgy's Avatar
    Join Date
    Feb 2003
    Location
    Sydney
    Posts
    8,280
    Umm, can you explain a bit more? Can't you just use the Array tools? Or copy and 'Paste tool' (hidden in the menus somewhere)

  3. #3
    Pronounced Inarticulate
    Join Date
    Apr 2003
    Location
    auf meinen Weg zum Horizont
    Posts
    947
    Yeah, copy parallel and offset are CAD terms (Microstation and AutoCAD) an offset spline would look like the picture below.

    I do this manually in LW an awful lot, hence the need...
    Last edited by omeone; 02-22-2009 at 11:50 AM.

  4. #4
    Super Member tburbage's Avatar
    Join Date
    Feb 2003
    Location
    Redwood City, CA
    Posts
    386
    The built-in Clone options can't quite do this because it is requires a combination of tranlate + scale but with the curves held to parallel distance along all points.

    I haven't been able to come up with a plugin which really does this, but a question -- are you using one of those cad tools in conjunction with LW? For example, I have Rhinoceros 3D, which has a good curve offset function, and I was able to export the curves to Illustrator/.ai format, then import into LW.

    I could suggest other "workaround" approaches but you've probably already made the rounds of them on your own -- and I would wonder whether the trouble it would take to arrive at the perfect final curves might be more than just using a non-curve-based approach to producing the end-result geometry in the first place...

  5. #5
    Pronounced Inarticulate
    Join Date
    Apr 2003
    Location
    auf meinen Weg zum Horizont
    Posts
    947
    /Yeah, I'm using Microstation for laying-out purposes a lot, but it's impossible to foresee all the requirements, (its for civil and landscaping viz), it's no fun switching back and forward between the two during modelling, I really need to streamline the workflow so that I have only one CAD session per per project.

    I think it would take a fully fledged LW programmer to do this properly, but I don't need true mathematical and / or 3D spline offsets.
    As you say I'm using workarounds, which are slow, tedious and repetitive. (Though if not for Hurley's Guide tool and Faulknermano's Freeze Spline it would be much worse.)

    I've had a look into LScript and I'm pretty sure it (and I) could do it, but it's gonna take me a long time...

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •