SketchUcation Premium Membership

 

 

[Plugin] FredoTools::CurviShear 1.5a - 25 Aug 11 (ramps)

[Plugin] FredoTools::CurviShear 1.5a - 25 Aug 11 (ramps)

Postby Fredo6 » Fri Jun 25, 2010 5:15 pm


CurviShear is a small standalone script allowing to deform a curve or a set of curves by shearing them vertically along their contour. This is typically what is needed to approximate CURVED RAMPS.

This comes from an interesting discussion initiated by rv1974 (see http://forums.sketchucation.com/viewtopic.php?f=15&t=29102#p253279)

CurviShear illustration.png



RevertCurve is now installed as part of FredoTools.

See the main post for this plugin for Installation


No user manual (see section Quick Start below)
  • Language: English and French
  • Menus: by default, it is installed in Plugins > Curve Shearing and also appears in the Contextual menu when there is at least one curve in the current selection
  • Icon toolbar: No icon provided
  • The plugin is free, for private and commercial usage.



Overview
More video to come. Here is a quick one
Ramp Shearing.gif



  • Select one or several curves
  • Call the Plugin on the selection (main menu or contextual menu “Curve Shearing”)
  • The dialog box appears:
    CurviShear dialog.png

    • Set the base height, the maximum height (from the base height). Can be positive or negative.
    • The extremities of the curves which will be the most elevated are highlighted. If you prefer the other ends, then toggle the Reverse flag in the combo box
    • You have an option to generate the ramp within a group.
    • Parameters are kept within the Sketchup session (but not across sessions)
  • The new curves are then generated and you exit the plugin
  • From there you may want to put a skin on the ramp (with Curviloft or TIG’s extrude tools)

IMPORTANT: For the time being, the Direction for Shearing is the Z AXIS. So your curves should preferrably be in the Horizontal plane.



CurviShear 1.5a - 25 Aug 11: Now part of FredoTools. No major functional change

CurviShear 1.0b - 25 Jun 10 - 22:30 CET: fixed problem of main menu

CurviShear 1.0a - 25 Jun 10 - 19:00 CET: First version

IMPORTANT: Please note that Curviloft is still in Beta and may not be able to generate the skinning of the ramps.
Please, register (free) to access all the attachments on the forums.
Last edited by Fredo6 on Tue Dec 20, 2011 2:16 pm, edited 8 times in total.
Fredo6
Top SketchUcator
 
Posts: 1655
Joined: Mon Nov 12, 2007 9:07 pm

Re: [Plugin] CurviShear (to make ramps)

Postby Chris Fullmer » Fri Jun 25, 2010 5:16 pm

Looks awesome Fredo! Congrats yet again,

Chris
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer
SketchUp Team
 
Posts: 6680
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Advanced

Re: [Plugin] CurviShear (to make ramps)

Postby Rich O Brien » Fri Jun 25, 2010 5:55 pm

Thanks Fredo, very useful!

Enjoy the weekend
:::Blog:::

I'm a Trimbler now!
User avatar
Rich O Brien
Administrator
 
Posts: 8266
Joined: Fri Oct 31, 2008 9:05 am
Location: Limerick, Ireland
Name: Rich O'Brien
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

Re: [Plugin] CurviShear (to make ramps)

Postby Pilou » Fri Jun 25, 2010 6:01 pm

ça tient bien la rampe ;) :thumb:
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10027
Joined: Wed Jan 23, 2008 10:33 pm
Operating system: Windows
SketchUp version: 6
License type: Free
SketchUp use: hobby
Level of SketchUp: Advanced

Re: [Plugin] CurviShear (to make ramps)

Postby Didier Bur » Fri Jun 25, 2010 7:03 pm

Hi,

Thanks Fredo, good stuff as usual.
Here a part of the file header: Designed November 2010 by Fredo6
Back to the future ! :roflmao:
Didier Bur (Bytes Farmer)
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rld.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur
 
Posts: 1238
Joined: Wed Nov 14, 2007 10:07 pm
Location: Nancy, France
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] CurviShear (to make ramps)

Postby rv1974 » Fri Jun 25, 2010 7:13 pm

The huge time saver! So far only 2 minor bugs: Only context menu item starts procedure, no reaction from menu-plugins-curve shearing. The Base ramp negative value
(with "-") generates simple offset- no ramp shape.
rv1974
 
Posts: 510
Joined: Tue Nov 13, 2007 11:38 am
Name: rv1974
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] CurviShear (to make ramps)

Postby thomthom » Fri Jun 25, 2010 7:15 pm

This is brilliant Fredo - we'll have great use of this at the office!
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17545
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] CurviShear (to make ramps)

Postby watkins » Fri Jun 25, 2010 7:19 pm

Dear Fredo6,

As always, a tour de force!

Thank you.

Bob
watkins
 
Posts: 1366
Joined: Wed Nov 14, 2007 5:47 pm

Re: [Plugin] CurviShear (to make ramps)

Postby Fredo6 » Fri Jun 25, 2010 9:33 pm

rv1974 wrote:The huge time saver! So far only 2 minor bugs: Only context menu item starts procedure, no reaction from menu-plugins-curve shearing. The Base ramp negative value
(with "-") generates simple offset- no ramp shape.

I fixed the problem of main menu in the new release.

For the base height, I don't see the problem. By definition, the base height is precisely an offset (up or down), whereas the top height is the maximum value of the height along the curve, on top of the base height.
Do you have a precise case?

Fredo
Fredo6
Top SketchUcator
 
Posts: 1655
Joined: Mon Nov 12, 2007 9:07 pm

Re: [Plugin] CurviShear (to make ramps) - 25 Jun 10

Postby rv1974 » Fri Jun 25, 2010 10:36 pm

top=0
base=-100
Isn't it supposed to be sloped?
Please, register (free) to access all the attachments on the forums.
rv1974
 
Posts: 510
Joined: Tue Nov 13, 2007 11:38 am
Name: rv1974
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] CurviShear (to make ramps) - 25 Jun 10

Postby Fredo6 » Fri Jun 25, 2010 10:48 pm

rv1974 wrote:top=0
base=-100
Isn't it supposed to be sloped?

No. If top = 0, there is no slope, and base will simply offset the curve(s) up or down.

Note that top and base are given as heights, not Z-coordinates

Fredo
Fredo6
Top SketchUcator
 
Posts: 1655
Joined: Mon Nov 12, 2007 9:07 pm

Re: [Plugin] CurviShear (to make ramps) - 25 Jun 10

Postby thomthom » Sat Jun 26, 2010 1:00 am

Top is relative to Base?
And Base is relative to Ground?
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17545
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] CurviShear (to make ramps) - 25 Jun 10

Postby agamemnus » Sat Jun 26, 2010 5:32 am

Looks amazing!
agamemnus
 
Posts: 211
Joined: Fri Mar 27, 2009 9:42 pm

Re: [Plugin] CurviShear (to make ramps) - 25 Jun 10

Postby MALAISE » Sun Jun 27, 2010 4:54 am

Simple and efficient, as usual , THANKS fredo :thumb: :thumb:
La Connaissance n'a de valeur que partagée
MALAISE
 
Posts: 620
Joined: Sun Apr 20, 2008 1:23 pm
Location: Cergy Pontoise FRANCE
Name: Pierre

Re: [Plugin] CurviShear (to make ramps) - 25 Jun 10

Postby make.GQ.china » Mon Jun 28, 2010 6:13 am

:D Thanks! A useful plug-in
make.GQ.china
 
Posts: 7
Joined: Wed Feb 10, 2010 4:56 pm
Name: guan qiang

Re: [Plugin] CurviShear (to make ramps) - 25 Jun 10

Postby halroach » Tue Jul 06, 2010 8:54 am

Hi Fredo,

I know the plugin contains the word curve in it 8-) ... but would there be a way to get it to work on any geometry that isn't necessarily a curve?

If it is possible to get it to work on any geometry, I believe this plugin should eventually work like the Joint Push Pull series (with preview and all), and even be added as one of them. I'd call it something like "joint push/pull to surface"...!?

Fredo! You make Great Stuff!
halroach
 
Posts: 165
Joined: Sat Mar 29, 2008 1:12 pm
Name: Halroach

Re: [Plugin] CurviShear (to make ramps) - 25 Jun 10

Postby Susy » Tue Jul 06, 2010 9:17 am

Sorry, all powerful Fredo, for interrupting, but what is the entry 'Rail Offset' that is shown in its context menu during the animation of the example? It sounds very interesting (That phrase has taken away the dream for some days) that's it Oh Great Fredo ?
Susy
 
Posts: 10
Joined: Fri Jun 25, 2010 5:54 am
Name: Susy

Re: [Plugin] CurviShear (to make ramps) - 25 Jun 10

Postby davidlouis » Tue Jul 06, 2010 8:07 pm

Firstly: fantastic script Fredo! This has really helped a desperate architect frustrated by the 'old' manual way of making ramps, curved kerbs on a slope etc etc...

Secondly: Could I make a small request? Basically, it would be great if the top height value could be input driven relative to the context of the model.... a bit like the 'projection' tools which require you to define a vector (lenght) along which to perform the function. I often make use of this tool with a '0' base height as its easy to extrude the base shape later but if you can think of integrating this variable in the same way that would be cool too.

With the current interface things are easy if you're dealing with whole measurements but a little difficult if you're reading dimensions off a complex model in which non whole numbers are displayed relative to one's setting for the decimal places and in my case often shortened by the ~ prefix in which case i don't know what the exact dimension is.

Hopefully you can see the value in this too...

Thanks again.

David
davidlouis
 
Posts: 73
Joined: Tue Dec 29, 2009 8:55 pm
Location: Durban, South Africa
Name: david

Re: [Plugin] CurviShear (to make ramps) - 25 Jun 10

Postby Fredo6 » Tue Jul 06, 2010 10:23 pm

davidlouis wrote:Secondly: Could I make a small request? Basically, it would be great if the top height value could be input driven relative to the context of the model....

David,

This plugin was written in a few hours and does not include all the bell and whistles that it may deserve. It could be interactive, and with preview, etc...
I can however fix your problem by extending the dialog box to accept altitude, instead of height to the base.

Also, keep in mind that CurviShear is only an approximate solution to the problem. To have a real ramp as a regular surface, you need to have homologue curves, because each curve vertex si deformed according its individual curvilinear distance, not by reference to a common rail.
If I have time, I will also enhance the script to provide something more accurate.

Fredo
Fredo6
Top SketchUcator
 
Posts: 1655
Joined: Mon Nov 12, 2007 9:07 pm

Re: [Plugin] CurviShear (to make ramps) - 25 Jun 10

Postby Fredo6 » Tue Jul 06, 2010 10:24 pm

Susy wrote:Sorry, all powerful Fredo, for interrupting, but what is the entry 'Rail Offset' that is shown in its context menu during the animation of the example? It sounds very interesting (That phrase has taken away the dream for some days) that's it Oh Great Fredo ?

RailOffset is a small script that I wrote for myself to test Curviloft. Nothing fancy, just 3D offsetting.

Fredo
Fredo6
Top SketchUcator
 
Posts: 1655
Joined: Mon Nov 12, 2007 9:07 pm

Re: [Plugin] CurviShear (to make ramps) - 25 Jun 10

Postby mitcorb » Tue Jul 06, 2010 10:31 pm

Now, this is a nice little "gem" by a really talented guy. :thumb:

Edit: However, something in my installation will not complete the skinning process? Also, notably, I ran the ruby once with the console open to track the activity and nothing displayed, so I cannot provide any info beyond the following:
WinXPtabletpc pro edition SU7.1xxx
Curvishear.rb placed in Plugins folder.

EDIT, AGAIN: Ok, I was dazzled by the video clip, and did not read at the bottom that automatic skinning is not available, yet. But, I will leave this post here as a lesson to myself that I must pay attention.
Please, register (free) to access all the attachments on the forums.
I take the slow, deliberate approach in my aimless wandering.
User avatar
mitcorb
Top SketchUcator
 
Posts: 3392
Joined: Sat Mar 22, 2008 2:32 pm
Location: USA
Name: Tim
Operating system: Windows
SketchUp version: 8
License type: Free
SketchUp use: architecture
Level of SketchUp: Intermediate

Re: [Plugin] CurviShear (to make ramps) - 25 Jun 10

Postby CodyV1 » Wed Jul 07, 2010 5:02 am

This is great! How ironic :o I find this on the site when X Games rolls in. I think this would be great if it somehow incorperated banking. I'll be saving time by the hours with this on road courses :ecstatic:
CodyV1
 
Posts: 84
Joined: Mon Jun 28, 2010 4:53 am
Name: Cody Ficker

Re: [Plugin] CurviShear (to make ramps) - 25 Jun 10

Postby halroach » Wed Jul 07, 2010 9:01 am

Halroach wrote:Hi Fredo,

I know the plugin contains the word curve in it 8-) ... but would there be a way to get it to work on any geometry that isn't necessarily a curve?


I may have confused the plugin's functionality.
I guess I was thinking of something a bit different for ramp creations. You would push a curved surface onto a straight plane. Like Joint Push Pull but to a horizontal surface. You would use it when you have the ramp already created but don't have the base for it... how does that sound?
halroach
 
Posts: 165
Joined: Sat Mar 29, 2008 1:12 pm
Name: Halroach

Re: [Plugin] CurviShear (to make ramps) - 25 Jun 10

Postby Macker » Wed Jul 07, 2010 11:41 am

Would it be able to do a ramp with say a "T junction" half way up? I'm just thinking about how to go about doing roads on uneven sites, which often have various junctions and so on.
Check out my blog @ http://macviz.blogspot.co.uk
Macker
 
Posts: 118
Joined: Tue Jun 03, 2008 9:55 am
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] CurviShear (to make ramps) - 25 Jun 10

Postby mitcorb » Sat Jul 10, 2010 2:54 am

@Macker:
I just tried a simple T Junction with Bezier curves, but I stubbed the ends with straight segments and ran the ruby. The script could not decide which end to set as the low elevation and which to set as the high. So it basically did both elevations for all four stubs, leaving a wire frame mesh as a group.
However, after throwing that away, I did a simple ramp and added Bezier plan profiles to the curvishear ramp and pushpulled the stubs up to the nearest point above and then adjusted them to coincide with the main slope. Not necessarily the best way, but one possible solution while we wait for any enhancements to this handy little tool.
Best Regards,
mitcorb
I take the slow, deliberate approach in my aimless wandering.
User avatar
mitcorb
Top SketchUcator
 
Posts: 3392
Joined: Sat Mar 22, 2008 2:32 pm
Location: USA
Name: Tim
Operating system: Windows
SketchUp version: 8
License type: Free
SketchUp use: architecture
Level of SketchUp: Intermediate

Re: [Plugin] CurviShear (to make ramps) - 25 Jun 10

Postby kobus » Mon Sep 20, 2010 8:57 am

Respect, Fredo.
Every once in a while a gem like this is there exactly when I need it.
I'm going to include "difficult ramp for parking" here so people get this topic at the top of the list when searching. Many thanks !
you should be interested in the future. you will spend the rest of your life there
kobus
 
Posts: 25
Joined: Fri Dec 28, 2007 1:30 pm
Location: Antwerpen, Belgium

Re: [Plugin] CurviShear (to make ramps) - 25 Jun 10

Postby grim » Wed Sep 22, 2010 6:07 am

fredo

i realise this was just a quickie ruby but it is a good one that i use

however i am haveing trouble in SU8 is there a problem and does it need updating

regards
grim
grim
 
Posts: 18
Joined: Fri Apr 02, 2010 1:04 am
Location: Canberra, Australia
Name: david

Re: [Plugin] CurviShear (to make ramps) - 25 Jun 10

Postby thomthom » Wed Sep 22, 2010 7:21 am

grim wrote:however i am haveing trouble in SU8 is there a problem and does it need updating

It helps to describe what the trouble is.
(Operations fails, error messages, messages in the Ruby Console?)
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17545
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] CurviShear (to make ramps) - 25 Jun 10

Postby Krisidious » Wed Sep 22, 2010 7:59 am

punctuation helps too... are those questions or statements?
Kristoff Rand
Home Designer
Custom House Plans with a Point of View
User avatar
Krisidious
 
Posts: 3146
Joined: Mon Oct 22, 2007 1:52 pm
Location: Springfield, Missouri. USA
Name: Krisidious
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] CurviShear (to make ramps) - 25 Jun 10

Postby Pilou » Wed Sep 22, 2010 8:27 am

If some modifications are made for the V8, what are the results for the previous versions?
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10027
Joined: Wed Jan 23, 2008 10:33 pm
Operating system: Windows
SketchUp version: 6
License type: Free
SketchUp use: hobby
Level of SketchUp: Advanced

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Not a Premium Member yet? Check out the great time-limited deal we are offering.

Ad Machine
Robot
 
Posts: 2012

Next


 

Return to Plugins

Who is online

Users browsing this forum: andresitos, Bierbre, flashzs, Google Bot, Heritrix Crawler, junkiee, NEWarchitect and 8 guests