Author Topic: Rotate on the X axis?  (Read 4113 times)

0 Members and 1 Guest are viewing this topic.

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Rotate on the X axis?
« on: December 13, 2004, 10:36:55 AM »
This may be an easy question for you 3-D folks.
I would like to take the Roof Hatch created in plan view and rotate it so it shows
how the roofing actually looks in the Front View. All of this is in 2-D.
I guess it would have to rotate on the x axis 90 degrees clock wise?
Is that correct & how would you do that?
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

CADaver

  • Guest
Rotate on the X axis?
« Reply #1 on: December 13, 2004, 11:01:01 AM »
ROTATE3D will allow for rotations around any axis, but i think you'll have to do mor than just rotate around X.  That 2D hatch is in "PLAN" view, rotating it 90deg about X will show only a line.  You'll have to rotate it up out of the Z axis first.

Even then the scale gonna be buggered up.

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Rotate on the X axis?
« Reply #2 on: December 13, 2004, 01:56:35 PM »
Thanks CADaver.
The ROTATE3D worked well.
This is what I did and it came out ok as the rood shingle is just a representation
and not exact.

Hatched the plan view area of that roof at 315 deg.
Rotated it 45 deg.
Rotate3d Y axis -45 deg
Rotate3d with axis picked as the lower left corner of the hatch and the next point
the lower right corner of the hatch.  Angle -70 deg
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
Rotate on the X axis?
« Reply #3 on: December 13, 2004, 02:04:39 PM »
CAB, In the past, I have created a closed polyline representing the surface of the roof, aligned the UCS to the closed polyline, set the origin to the lower corner of the polyline then hatched in that UCS. At plan and elevation view it looks correct.
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

CADaver

  • Guest
Rotate on the X axis?
« Reply #4 on: December 13, 2004, 02:18:46 PM »
Quote from: CAB
Thanks CADaver.
The ROTATE3D worked well.
yer welcome, glad to help
Quote from: CAB
This is what I did and it came out ok as the rood shingle is just a representation and not exact.
aahh, a smart guy like you could have figured out how to make it exact, right?
 :wink:

CADaver

  • Guest
Rotate on the X axis?
« Reply #5 on: December 13, 2004, 02:20:33 PM »
Quote from: Keith
CAB, In the past, I have created a closed polyline representing the surface of the roof, aligned the UCS to the closed polyline, set the origin to the lower corner of the polyline then hatched in that UCS. At plan and elevation view it looks correct.
If you just go ahead and do it all 3D, you don't have to fiddle with all that. :wink:

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
Rotate on the X axis?
« Reply #6 on: December 13, 2004, 03:01:54 PM »
Well, ya know that weren't part of the original question ... but you are right ...
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Rotate on the X axis?
« Reply #7 on: December 13, 2004, 03:09:41 PM »
3D?
That would be over kill for two or three roof tile hatched. :shock:

It's so seldom that I do any 3D that it's always a struggle.
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

CADaver

  • Guest
Rotate on the X axis?
« Reply #8 on: December 13, 2004, 03:31:41 PM »
Quote from: CAB
3D?
That would be over kill for two or three roof tile hatched. :shock:
not just the hatch, but the whole bloody design effort.  Try it, you'll like it.

Quote from: CAB
It's so seldom that I do any 3D that it's always a struggle.
Just like anything else, the more you use it the more comfortable it gets.  I'm at the point now where I can't do 2D anymore.  I had to edit an old 2D file last week, and it took me twice as long as it should have. It would have been faster to start over and do it "right" (3D)

t-bear

  • Guest
Rotate on the X axis?
« Reply #9 on: December 14, 2004, 08:37:21 AM »
I agree with CADaver...  I looked at this question and couldn't for the life of me remember how we used to do it. :oops:   The great thing about this problem in 3D would be that you could have created any detail view of this section with the simple application of viewports.  It seems to take longer to create your model in 3D, at least at first.  But ... once created (and that part gets easier and faster with practice) all the details are a snap to create. you can hatch to any surface and when viewed in the oblique, it will display the proper aspect for that view ...cool!   I heartily encourage you to experiment with 3D modeling.  You'll never look back!

CADaver

  • Guest
Rotate on the X axis?
« Reply #10 on: December 14, 2004, 08:44:42 AM »
And with your programming skills, CAB, I can see some really whiz-bang tools on the horizon.

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Rotate on the X axis?
« Reply #11 on: December 14, 2004, 09:08:24 AM »
Aaaaah   Too much to learn and too little time.

It is rare that i really need the 3d image because we use flat images in the
house plans. Arch-T does a good job when I want a 3d image so it has made me
lazy in that area. Even in this case the rest of the image is flat. I just
go tired of faking the roof hatch image when I had a non-90 degree roof
section. The actual image is much better to look at that my fake. So now that
I know how. I'll use it more often. I am trying to think of a way to get the
last angle pick by rotating with the cursor as it takes many tries to guess
at the correct angle. I'm thinking you have to use ucs somehow. But the trick
is you have to keep the Front view while rotating on the picked axis. Well
maybe the view could be on the rotating axis as long as you had a target to
rotate to.  I'll let you know if I figure a short cut.

Thanks for the help.
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

SMadsen

  • Guest
Rotate on the X axis?
« Reply #12 on: December 14, 2004, 09:25:16 AM »
CAB. don't you have cover tiles on hips and ridges?

*me and my stupid remarks*  :roll:

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Rotate on the X axis?
« Reply #13 on: December 14, 2004, 09:30:31 AM »
OK, getting close.
Looking at the house front elevation, I drew two lines one for the top of
facia which is the bottom of the hatch and another where the top of the
hatch should be. I used 3dorbit to move my view so I am on the right side
almost looking parallel to the lines.  I tried to use the Tools/Orthographic
UCS / RIGHT but the ucs still needs to be rotated on the new Z CW 90 deg.
I used UCS New Z -90 . Then drew a line snapping to the top line and to the
right. This gave me a visual target. Then I can rotate the hatch using the
bottom as the axis and drag the top around to meet the new line.
It's a little trickie mentally visualizing where you are as the actual view
can play tricks with your head.
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Rotate on the X axis?
« Reply #14 on: December 14, 2004, 10:11:41 AM »
Quote from: SMadsen
CAB. don't you have cover tiles on hips and ridges?

*me and my stupid remarks*  :roll:

Pickie Pickie Pickie :D

That's the kind of detail that can drive your cost up.

But I often do when I do spanish tiles.
Code: [Select]
;;        TileRidge.lsp  by  Charles Alan Butler
;;            Version 1    05/05/2004
;;  Draws a Poly line to look like a Spanish Tile Ridge line
;;  You may draw in any direction and routine will adjust
;;  tile direction except on the 0,90,180,270 degree angles
;;  the line direction will determine the ridge direction
;;
;;  Uses current layer to draw LWpolyline with width of 0
;;  Tile run is approx 10 with 3 rise at foot and 2 rise at head
;;  Tile run is adjusted to fit between the pick points
(defun c:TileRidge (/ usercmd useros p1 p2 p3 a90 a270 dist ang step)


And the roof edge as well.
Code: [Select]
;;  Create arc to display roof edge on barrel tile
;; only works on horrizontal run, no rotated roof lines
(defun C:RfTile (/ p1 p2 p3 ang lp usercmd useros)


With asphalt shingles I tend to let it slide.
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

SMadsen

  • Guest
Rotate on the X axis?
« Reply #15 on: December 14, 2004, 03:11:01 PM »
Quote from: CAB

Code: [Select]
;;        TileRidge.lsp  by  Charles Alan Butler
;;            Version 1    05/05/2004

Whoa!!  :D