Author Topic: 3Doffset and 3Dpoly joint ??  (Read 6142 times)

0 Members and 1 Guest are viewing this topic.

Andrea

  • Water Moccasin
  • Posts: 2372
3Doffset and 3Dpoly joint ??
« on: November 02, 2005, 09:25:46 AM »
does anyone know if thers is any command to....

1) Joint 3Dpoly with line polyline or 3Dpoly ?

2) Offset with 3d point ??

thanks.
Keep smile...

Swift

  • Swamp Rat
  • Posts: 596
Re: 3Doffset and 3Dpoly joint ??
« Reply #1 on: November 02, 2005, 07:53:27 PM »
1. Not by default but can be written

2. that is a tricky question, yes, it is possible, yes, in a way it is easy but in another it is extremely difficult. It has to do with the fact that each segment of a 3d polyline has the ability to fall in a different plane. Think of a lwpoly it always has the same elevation thoughout its length so the segments are offset only in the x-yplane and the same z is maintained in the offset entity. To offset a unconstrained 3dpolyline (any 3dpolyline that I can draw) would be a feat of linear algebra and may or not be possible, depending on what you are wanting to do. HOWEVER, if all you want to do is move the 3dpolyline in the x-y plane and maintain the same z for each vertex then that is fairly easy.

 I need more information.

Andrea

  • Water Moccasin
  • Posts: 2372
Re: 3Doffset and 3Dpoly joint ??
« Reply #2 on: November 03, 2005, 08:53:32 AM »
oh... :?

Ok....so let'S write a little routine...

I have compared both...LWPOLYLINE and POLYLINE
there is the result..

PLINE
((-1 . <Nom d'entité: 7ef5bfa8>) (0 . "LWPOLYLINE") (330 .
<Nom d'entité: 7ef5bcf8>) (5 . "F5") (100 . "AcDbEntity") (67 . 0) (410 .
"Model") (8 . "0") (100 . "AcDbPolyline") (90 . 4) (70 . 0) (43 . 0.0) (38 .
0.0) (39 . 0.0) (10 129.383 122.43) (40 . 0.0) (41 . 0.0) (42 . 0.0) (10
295.489 185.299) (40 . 0.0) (41 . 0.0) (42 . 0.0) (10 368.576 129.957) (40 .
0.0) (41 . 0.0) (42 . 0.0) (10 421.73 188.398) (40 . 0.0) (41 . 0.0) (42 . 0.0)
(210 0.0 0.0 1.0))

3DPOLY
Choix de l'objet: ((-1 . <Nom d'entité: 7ef5bfb0>) (0 . "POLYLINE") (330 . <Nom
d'entité: 7ef5bcf8>) (5 . "F6") (100 . "AcDbEntity") (67 . 0) (410 . "Model")
(8 . "0") (100 . "AcDb3dPolyline") (66 . 1) (10 0.0 0.0 0.0) (70 . 8) (40 .
0.0) (41 . 0.0) (210 0.0 0.0 1.0) (71 . 0) (72 . 0) (73 . 0) (74 . 0) (75 . 0))


Now with the 3DPOLY I can not see all the endpoints of each segment...
how can I get it ?

I would like to do this..
1) select the entity
2) filter if it'S a POLYLINE or LWPOLYLINE or LINE
2) Get all the end points and put in a list
3) delete the selected entity
4) and remake it with LWPOLYLINE with all the points in the created list.

this is the way it seem would like to do.
But if you have better idea...or better suggestion...i'll take it. ^-^
Keep smile...

Bob Wahr

  • Guest
Re: 3Doffset and 3Dpoly joint ??
« Reply #3 on: November 03, 2005, 11:22:27 AM »
Now with the 3DPOLY I can not see all the endpoints of each segment...
how can I get it ?
they are exposed in VBA although I know you don't care, I would assume to lisp as well.

4) and remake it with LWPOLYLINE with all the points in the created list.
If that's what you want, assuming you don't have a lot of them, this will be a lot less headache and will get it done:

EXPLODE
<pick a 3dpolyline>
-CHANGE
P

E
0

PEDIT
L
J
P
<select other lines, polylines, lwpolylines as desired>

and you have done it.

Andrea

  • Water Moccasin
  • Posts: 2372
Re: 3Doffset and 3Dpoly joint ??
« Reply #4 on: November 03, 2005, 11:25:54 AM »
Ok Bob..

good suggestion....but do you think this is the only way ? :?
Keep smile...

Bob Wahr

  • Guest
Re: 3Doffset and 3Dpoly joint ??
« Reply #5 on: November 03, 2005, 11:31:55 AM »
No, not the only way.  Like I said, if you have a lot of them, it might be worth writing a program.  if not, it's a pretty big hassle.  Have to figure out which way each thing is running, compare coordinates, figure out what if any fuzz factor you want to apply.  Definitely not a 30 minute program.

Andrea

  • Water Moccasin
  • Posts: 2372
Re: 3Doffset and 3Dpoly joint ??
« Reply #6 on: November 03, 2005, 01:28:46 PM »
Ok thanks...

Last question....:

What exactly the difference between 3DPOLY and simple PLINE (excluding the width) ?
Keep smile...

Bob Wahr

  • Guest
Re: 3Doffset and 3Dpoly joint ??
« Reply #7 on: November 03, 2005, 01:39:38 PM »
THE SHORTEST MOST BASIC ANSWER (sry) is that polylines (light or heavy) have a consistant Z relative to the plane they are in or to put it another way, they are flat.  3dpolylines can have a different relative Z at each vertex.

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: 3Doffset and 3Dpoly joint ??
« Reply #8 on: November 03, 2005, 02:13:51 PM »
Just to add what Bob said, I believe they are also ucs agnostic even tho they have a 210 group.
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

Andrea

  • Water Moccasin
  • Posts: 2372
Re: 3Doffset and 3Dpoly joint ??
« Reply #9 on: November 03, 2005, 06:01:10 PM »
 :ugly:
Keep smile...

Bob Wahr

  • Guest
Re: 3Doffset and 3Dpoly joint ??
« Reply #10 on: November 03, 2005, 06:02:30 PM »
Are you making fun of the fact that my left eye is smaller than my right?  See if I ever try to help you again.

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: 3Doffset and 3Dpoly joint ??
« Reply #11 on: November 03, 2005, 06:04:51 PM »
Alfred, is that you?
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

Bob Wahr

  • Guest
Re: 3Doffset and 3Dpoly joint ??
« Reply #12 on: November 03, 2005, 06:05:32 PM »
I'm Melvin the Mop Boy.

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: 3Doffset and 3Dpoly joint ??
« Reply #13 on: November 03, 2005, 06:08:57 PM »
It's time to test the water.
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

LE

  • Guest
Re: 3Doffset and 3Dpoly joint ??
« Reply #14 on: November 03, 2005, 06:20:57 PM »
Is there a drawing that I can run some tests?.....

Also:
There are plenty of information about geometry out there in hyper-space, look into patterns, sequences, paths, algorithms... all about analytic geometry, graphics, etc..... why are you trying to use or focus on what AutoCAD has built-in?

There are forms to follow a pattern or path.... but is not simple or easy to do.

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: 3Doffset and 3Dpoly joint ??
« Reply #15 on: November 03, 2005, 06:34:16 PM »
True, but a dark roast has less caffeine.
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

LE

  • Guest
Re: 3Doffset and 3Dpoly joint ??
« Reply #16 on: November 03, 2005, 06:47:44 PM »
True, but a dark roast has less caffeine.

?

My previous post was for the OP.....

LE

  • Guest
Re: 3Doffset and 3Dpoly joint ??
« Reply #17 on: November 03, 2005, 09:41:28 PM »
EXPLODE
<pick a 3dpolyline>
-CHANGE
P

E
0

PEDIT
L
J
P
<select other lines, polylines, lwpolylines as desired>

and you have done it.

This is the small test I did:

Code: [Select]
Command: -ch
CHANGE
Select objects: Specify opposite corner: 2 found

Select objects:
Specify change point or [Properties]: p

Enter property to change [Color/Elev/LAyer/LType/ltScale/LWeight/Thickness]: e

Specify new elevation <varies>: 0

Enter property to change [Color/Elev/LAyer/LType/ltScale/LWeight/Thickness]:

Cannot change elevation of objects with differing Z coordinates.
Command: *Cancel*

Bob Wahr

  • Guest
Re: 3Doffset and 3Dpoly joint ??
« Reply #18 on: November 04, 2005, 10:26:04 AM »
EXPLODE
<pick a 3dpolyline>
-CHANGE
P

E
0

PEDIT
L
J
P
<select other lines, polylines, lwpolylines as desired>

and you have done it.

This is the small test I did:

Code: [Select]
Command: -ch
CHANGE
Select objects: Specify opposite corner: 2 found

Select objects:
Specify change point or [Properties]: p

Enter property to change [Color/Elev/LAyer/LType/ltScale/LWeight/Thickness]: e

Specify new elevation <varies>: 0

Enter property to change [Color/Elev/LAyer/LType/ltScale/LWeight/Thickness]:

Cannot change elevation of objects with differing Z coordinates.
Command: *Cancel*
doh!  My bad.

Bob Wahr

  • Guest
Re: 3Doffset and 3Dpoly joint ??
« Reply #19 on: November 04, 2005, 10:27:12 AM »
EXPLODE
FLATTEN
<pick>

PEDIT
L
J
P
<select other lines, polylines, lwpolylines as desired>


Serge J. Gianolla

  • Guest
Re: 3Doffset and 3Dpoly joint ??
« Reply #20 on: November 04, 2005, 05:38:56 PM »
Ciao Andrea,
For 3D Offset check Jun 03 here:
http://new.cadalyst.com/code/
Have not tried it!
By the way, tu as ecrit 3D Poly joint, un joint c'est ce qu'on fume :-D but maybe that's what you were after?

deegeecees

  • Guest
Re: 3Doffset and 3Dpoly joint ??
« Reply #21 on: November 04, 2005, 05:55:19 PM »
Ciao Andrea,
For 3D Offset check Jun 03 here:
http://new.cadalyst.com/code/
Have not tried it!
By the way, tu as ecrit 3D Poly joint, un joint c'est ce qu'on fume :-D but maybe that's what you were after?

Hey now, I don't think she's a hop head.

LE

  • Guest
Re: 3Doffset and 3Dpoly joint ??
« Reply #22 on: November 04, 2005, 06:02:01 PM »
tu as ecrit 3D Poly joint, un joint c'est ce qu'on fume

He sounds like a serious person.... I don't think so.

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: 3Doffset and 3Dpoly joint ??
« Reply #23 on: November 04, 2005, 06:02:29 PM »
Who is "she" deeg' ?

.. and I think Serge was joshing about the smoke.
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

deegeecees

  • Guest
Re: 3Doffset and 3Dpoly joint ??
« Reply #24 on: November 04, 2005, 06:05:07 PM »
Who is "she" deeg' ?

.. and I think Serge was joshing about the smoke.

Oooooops, sorry Andrea. I forgot.  :ugly: Andrea is a common name in the U.S. for females. No offense meant towards you whatsoever.

LE

  • Guest
Re: 3Doffset and 3Dpoly joint ??
« Reply #25 on: November 04, 2005, 06:09:14 PM »
Same when using:

Louis

That is not right....   :pissed: ... it is:

Luis

The first one is like the one reporter that works in the Daily Planet with Clark Kent.....

 :lmao:



Bob Wahr

  • Guest
Re: 3Doffset and 3Dpoly joint ??
« Reply #26 on: November 04, 2005, 06:13:09 PM »
not quite.  Ms. Lane was Lois, not Louis.  Louis is either a saint or a trumpet player.

LE

  • Guest
Re: 3Doffset and 3Dpoly joint ??
« Reply #27 on: November 04, 2005, 06:19:20 PM »
not quite.  Ms. Lane was Lois, not Louis.  Louis is either a saint or a trumpet player.

He he.....

1. Not saint et-al
2. I like "Hello dolly"... do not have that talent....

Bob Wahr

  • Guest
Re: 3Doffset and 3Dpoly joint ??
« Reply #28 on: November 04, 2005, 06:23:17 PM »
1. Not saint et-al
Sounded nicer than dirty grimy town with absolutely nothing going for it except half a McDonalds sign spanning an oil slick though.

Serge J. Gianolla

  • Guest
Re: 3Doffset and 3Dpoly joint ??
« Reply #29 on: November 04, 2005, 06:30:22 PM »
First names are deceptive from country to country. It is only recently i realised Kerry Brown was a guy! [Sorry Kerry - I was more thinking along the line of KAK!] In italian Michele is for males, but a lot of english girls are using same spelling, not double L for their names!

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: 3Doffset and 3Dpoly joint ??
« Reply #30 on: November 04, 2005, 06:32:46 PM »
kerry
kerri
kerie

blame the Irish, Serge :)
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: 3Doffset and 3Dpoly joint ??
« Reply #31 on: November 04, 2005, 06:35:38 PM »
I'spose this may have helped    :lol:


[edit:]
or perhaps not :)
<link removed>
« Last Edit: November 06, 2005, 05:59:13 PM by Kerry Brown »
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

LE

  • Guest
Re: 3Doffset and 3Dpoly joint ??
« Reply #32 on: November 04, 2005, 06:37:29 PM »
Is that you Kerry?

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: 3Doffset and 3Dpoly joint ??
« Reply #33 on: November 04, 2005, 06:38:41 PM »
.. very old photo Luis  :) :lol:
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

Bob Wahr

  • Guest
Re: 3Doffset and 3Dpoly joint ??
« Reply #34 on: November 04, 2005, 06:41:34 PM »
I'm thinking that somewhere in the world exists a picture of Kerry that isn't from an old passport and I wonder if I will ever see one.  Given that this is the one that always appears, probably not.

LE

  • Guest
Re: 3Doffset and 3Dpoly joint ??
« Reply #35 on: November 04, 2005, 06:42:48 PM »
.. very old photo Luis  :) :lol:

Nice to meet you sir!

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: 3Doffset and 3Dpoly joint ??
« Reply #36 on: November 04, 2005, 06:46:26 PM »
Someone who can should probably split this thread.

kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

Mark

  • Custom Title
  • Seagull
  • Posts: 28762
Re: 3Doffset and 3Dpoly joint ??
« Reply #37 on: November 04, 2005, 07:49:23 PM »
I'll take care of it later tonight. The thread that is.
TheSwamp.org  (serving the CAD community since 2003)

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: 3Doffset and 3Dpoly joint ??
« Reply #38 on: November 04, 2005, 07:54:27 PM »
Very nice to make your acquaintance Mr. Brown.
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: 3Doffset and 3Dpoly joint ??
« Reply #39 on: November 04, 2005, 08:01:18 PM »
That was when I had hair worth growing long Michael.

<sigh.wav>
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: 3Doffset and 3Dpoly joint ??
« Reply #40 on: November 04, 2005, 08:10:49 PM »
Didn't seem to affect your personality, so still very pleased to meet you.
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: 3Doffset and 3Dpoly joint ??
« Reply #41 on: November 05, 2005, 09:30:53 PM »
....  [Sorry Kerry - I was more thinking along the line of KAK!] ....

 :)

for the uninitiated :-
Quote
Kerri-Anne, host of the top-rating ‘Mornings with Kerri-Anne’ show on Channel 9, has been a part of daily life for Australian television viewers for more than 30 years.

edit:
modified to suit the sensibilities of those possibly upset by the politically incorrect : 
« Last Edit: November 05, 2005, 09:36:35 PM by Kerry Brown »
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

Andrea

  • Water Moccasin
  • Posts: 2372
Re: 3Doffset and 3Dpoly joint ??
« Reply #42 on: November 07, 2005, 12:58:09 PM »
sorry guys....verry interesting..

but is the swamp a chat room ?

 :?
Keep smile...

Bob Wahr

  • Guest
Re: 3Doffset and 3Dpoly joint ??
« Reply #43 on: November 07, 2005, 02:03:06 PM »
perhaps not but seeing as people asked you questions pertaining to the original topic that you aren't answering, there was no reason for it to not degenerate.

Andrea

  • Water Moccasin
  • Posts: 2372
Re: 3Doffset and 3Dpoly joint ??
« Reply #44 on: November 07, 2005, 04:54:46 PM »
perhaps not but seeing as people asked you questions pertaining to the original topic that you aren't answering, there was no reason for it to not degenerate.

Questions ??...dont see any serious questions here.. sorry   8-)
Keep smile...

Jochen

  • Newt
  • Posts: 30
Re: 3Doffset and 3Dpoly joint ??
« Reply #45 on: January 17, 2006, 11:43:51 AM »
For PEDIT3D have a look at www.black-cad.de
I'm just finishing the OFFSET3D-problem too.
Regards
Jochen

Andrea

  • Water Moccasin
  • Posts: 2372
Re: 3Doffset and 3Dpoly joint ??
« Reply #46 on: January 17, 2006, 05:05:41 PM »
Jochen ..

First..welcome to the swamp.
and second....thanks, i'll take a look.

 :wink:
Keep smile...