Boat Design Forums  |  Boat Design Directory  |  Boat Design Gallery  |  Boat Design Book Store  |  Thanks to Our Site Sponsors

Go Back   Boat Design Forums > Design > Boat Design
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-25-2006, 06:07 AM
Grant Nelson Grant Nelson is offline
Senior Member
 
Join Date: Feb 2005
Rep: 159 Posts: 203
Location: Netherlands
Constraint fitting a fixed shape inside a hull

Hi,

Using Rhino, I am trying to find the outboard and forward most position for a toilet inside a hull. Is there a way to take my toilet "solid" and dynamically move it around (constrained to a particular height, and sometimes a minimum inside beam position) such that when it "bumps against" the hull (or the inside beam constraint) that I can not move it past the hull?

If I could set up both a "physical" barrier of the hull, and the inside beam, then I could kind of slide it forward into the "point" that they make, and I would automatically have the optimal position...

Naturally the same concept could be used for many "fixed shape" objects that one would want to optimally fit into a given space...
Reply With Quote
  #2  
Old 03-25-2006, 09:48 AM
solrac solrac is offline
100% sudaca
 
Join Date: Feb 2006
Rep: 42 Posts: 138
Location: 34'54"35"47S - 56'07"48"98W
I know it's not the most adequate response, but I always used autocad for that, just a couple of considerations:
1. use diferent layers for hull/cockpit/deck, etc... so you can "freeze" each layer independantly of the others.
2. use, name & save different UCS (User coordinate systems) for each entity you will draw.
3. use the shaded or rendered view, with lines visible, it will help a lot in detecting "passed intersections", to correct, just use the adequate substraction tool. (make an exagerate use of the backup tool for your mental health)
4. Using the "grips" in combination with the snap settings only to endpoint will help a lot.
Reply With Quote
  #3  
Old 03-26-2006, 04:52 AM
Grant Nelson Grant Nelson is offline
Senior Member
 
Join Date: Feb 2005
Rep: 159 Posts: 203
Location: Netherlands
Thanks Solrac, one 3d application at a time for me... still in the learning curve of moving completely from pencil/pen and paper (and eraser) to various CAD solutions - although I was using AutoYacht for a while in 1987 (!). What you suggest seems to have parallels in Rhino and might be the only solution.. still, I am a hands on kind of person, and I like the idea of a virtual physical solid wall to contrain my movement... so we will wait and see if some of our more brilliant members will jump in...
Cheers,
Grant
Reply With Quote
  #4  
Old 03-26-2006, 05:25 AM
GeoffSChapman GeoffSChapman is offline
Junior Member
 
Join Date: Dec 2003
Rep: 10 Posts: 37
Location: France
Orient on curve

Try one of the new bonus cmds with v3,
Transform - Orient on curve
If you move the corner of your object (WC) on to a curve (strake for ex.) you can slide the object along it
Geoff
Reply With Quote
  #5  
Old 03-26-2006, 07:52 AM
D'ARTOIS D'ARTOIS is offline
Senior Member
 
Join Date: Nov 2004
Rep: 311 Posts: 1,069
Location: The Netherlands
Just a practical hint: a forward/frontal position of toilet or head is the most uncomfortable one, provided you are using it when under power or sail.
Nowadays (in sailingyachts) shower/toilet cabis are placed more aft and for
sensible reasons that you might stay on the toilet when using it.
The forward part of the boat is the one that moves.

It remembers me on a trip I made: when the weather became bad there was a guy always sitting next to me in the bar of the vessel.
The bar was located not far of the COG of the boat and movements were minimal there. He said: "when the weather becomes bad, I feel best in the bar"
not realising why.
Reply With Quote
  #6  
Old 03-26-2006, 08:35 AM
yipster's Avatar
yipster yipster is online now
Senior Member
 
Join Date: Oct 2002
Rep: 1027 Posts: 3,270
Location: netherlands
Quote:
Is there a way to take my toilet "solid" and dynamically move it around (constrained to a particular height, and sometimes a minimum inside beam position) such that when it "bumps against" the hull (or the inside beam constraint) that I can not move it past the hull?
you can allways simply test render for fit
in 3d studio it can be done by making objects active as pc games work
dont know, maybe theres a script for acad or rhino?
Reply With Quote
  #7  
Old 03-26-2006, 04:08 PM
Grant Nelson Grant Nelson is offline
Senior Member
 
Join Date: Feb 2005
Rep: 159 Posts: 203
Location: Netherlands
Thank you all! This is so cool, 2 replys from the Netherlands (homies), one from France, and one from 34'54"35"47S - 56'07"48"98W (Argentina I think).

Geoff wins 1st place, the orient on curve comes real close to what I need, but its still not quite the "wall" feeling I was looking for.

I love the story about the Bar... I have to remember that one. Regading the foward location, good point, but its not a problem, as this particular design is for two crusing couples, power, who will stay on protected waters. If it gets rough the can use the bar, which should also be near the COG on my boat ;-)

And do I understand from Yipster that 3d Studio lets you turn solids into just that, like in a PC game, so you can not pass through them? Interesting.

Cheers,
Grant
Reply With Quote
  #8  
Old 03-26-2006, 04:14 PM
solrac solrac is offline
100% sudaca
 
Join Date: Feb 2006
Rep: 42 Posts: 138
Location: 34'54"35"47S - 56'07"48"98W
Quote:
Originally Posted by Grant Nelson
Thank you all! This is so cool, 2 replys from the Netherlands (homies), one from France, and one from 34'54"35"47S - 56'07"48"98W (Argentina I think).
34'54"35"47S - 56'07"48"98W, if you check on a chart, is the swimming pool center (XY) of the YCU (Yacht Club Uruguayo), Puerto del Buceo, Montevideo, Uruguay
Reply With Quote
  #9  
Old 03-26-2006, 04:30 PM
Rick Loheed Rick Loheed is offline
Junior Member
 
Join Date: Mar 2006
Rep: 16 Posts: 57
Location: Maryland, USA
Move to Surface Intersection

I have often needed the same functionality, so I wrote one today for surface intersections- it was not to hard. copy this script into a text file, save as maybe MoveToInt.rvb wherever you have your scripts;

sub MoveToInt
Dim objecta, objectb, XStep,YStep, ZStep, arrPoint1, arrPoint2, arrSSX
'Written by Rick Loheed
'March 26, 2006
'you may use it as you wish
'Creates a point or curve at the intersection when found
'Change True to False at the end of line 26 if you do not wish creation

'Get Objects
objecta=rhino.getobject("object to move")
if isnull(objecta) then exit sub
objectb=rhino.getobject("object to hit")
if isnull(objectb) then exit sub

'initialize step
XStep = Rhino.GetReal("X Step Interval", -0.010)
YStep = Rhino.GetReal("Y Step Interval", 0.000)
ZStep = Rhino.GetReal("Z Step Interval", 0.000)

'Initialize delta move points
arrPoint1 = Array(0,0,0)
arrPoint2 = Array(XStep,0,0)

'Iterate until an intersection is found
DO while Not IsArray(arrSSX)
arrSSX = Rhino.SurfaceSurfaceIntersection(objecta, objectb,, True)
'reinitialize for next step, put point2 into point1
arrPoint1(0) = arrPoint2(0)
arrPoint1(1) = arrPoint2(1)
arrPoint1(2) = arrPoint2(2)
'Add step intervals
arrPoint2(0) = arrPoint2(0) + XStep
arrPoint2(1) = arrPoint2(1) + YStep
arrPoint2(2) = arrPoint2(2) + ZStep
'Move to next position if intersection not found
Rhino.MoveObject objecta, arrPoint1, arrPoint2
Loop

rhino.unselectallobjects
end sub
Reply With Quote
  #10  
Old 04-21-2006, 01:59 PM
Rick Loheed Rick Loheed is offline
Junior Member
 
Join Date: Mar 2006
Rep: 16 Posts: 57
Location: Maryland, USA
Script

Hey- anyone tried my script yet? I was thinking maybe someone would find it useful-
Reply With Quote
  #11  
Old 04-21-2006, 05:03 PM
marshmat's Avatar
marshmat marshmat is offline
Senior Member
 
Join Date: Apr 2005
Rep: 1918 Posts: 4,113
Location: Ontario
Haven't had a chance to yet, Rick... probably will in a few days. Gotta love Rhino... so many things to tweak, customize and add!
__________________
- Matt Marsh - Marsh Design (small craft blog and designs)
Reply With Quote
Reply



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Straight Thru-Hull Fitting 1-1/2'' accent33 Propulsion 3 05-31-2005 01:53 PM
need guidance on hull shape gerard baladi Powerboats 2 11-19-2004 08:56 AM
Hull Shape mrbrown Boat Design 1 08-09-2004 12:24 PM
Hull shape problems Les Powerboats 5 03-24-2004 10:34 PM
hull shape and comfort Sailboats 1 10-26-2002 03:54 PM


All times are GMT -5. The time now is 08:48 AM.


Powered by: vBulletin Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Web Site Design and Content Copyright ©1999 - 2012 Boat Design Net