
CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.
Please abide by the
rules of this forum.
This is a peer-to-peer forum. The forum doesn't replace the official direct technical support provided by ARKANCE for its customers.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
Author |
Topic Search Topic Options
|
SEANT
Groupie
Joined: 09.Jan.2012
Location: United States
Using: AutoCAD 2016
Status: Offline
Points: 31
|
Topic: Elliptical Dome Posted: 12.Oct.2013 at 10:19 |
This version fixes some bugs/issues with the previous.
Also, if a Administrator/Moderator would be so kind, please remove the earlier versions (uploads/244286/Ellipsoid.zip and . . . ./Ellipsoid2.zip). I, and any future members that may accidentally download those versions, would be grateful. I would do the housekeeping myself but I haven't found any mechanism for editing my previous posts.
Kent, that is an interesting methodology. Depending on the use it may be more representative of the projects final outcome. And, without a doubt, ACADVer/AutoLisp compatibility is king.
|
 |
Kent Cooper
Senior Member
Joined: 12.Mar.2013
Location: United States
Using: AutoCAD2020, 2023
Status: Offline
Points: 686
|
Posted: 10.Oct.2013 at 17:26 |
>> Just wanted to say "thanks" to Kent Cooper for his contribution too. .... -- John Connor
Thank you back. One nice thing about that routine is that it's not version-dependent as the .dll things appear to be, so people with any version of AutoCAD can build elliptical Domes with it. [That is, unless you go way back to an early enough version that the Ellipse command made only a Polyline approximation, in which case I think it should still work but wouldn't be as accurate in shape; or maybe some very old versions don't have all the needed 3D commands.] In fact, it was worked out in a version from before NETLOAD -- I did it partly because in the AutoCAD I have here [2004], I don't have the possibility of trying those other routines.
Edited by Kent Cooper - 10.Oct.2013 at 17:27
|
 |
John Connor
Senior Member
Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
|
Posted: 10.Oct.2013 at 15:17 |
Just wanted to say "thanks" to Kent Cooper for his contribution too. I neglected to do so yesterday.
|
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."
<<AutoCAD 2015>>
|
 |
mmaurigi
Groupie
Joined: 21.Oct.2012
Location: United States
Using: AutoCAD 2009
Status: Offline
Points: 43
|
Posted: 10.Oct.2013 at 14:33 |
SEANT wrote:
Yes, that is the way the routine works. The routine is very basic. You would have to adjust dimensions, Height specifically, to accommodate the necessary slice.
|
Ok, if that's the case, then it works perfectly. Thanks again for your help with this. Greatly appreciated!
|
 |
John Connor
Senior Member
Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
|
Posted: 10.Oct.2013 at 00:26 |
Can't wait to give it a try when I get to work tomorrow. Thank you SEANT.
|
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."
<<AutoCAD 2015>>
|
 |
SEANT
Groupie
Joined: 09.Jan.2012
Location: United States
Using: AutoCAD 2016
Status: Offline
Points: 31
|
Posted: 09.Oct.2013 at 23:25 |
mmaurigi wrote:
Thanks for the modified code. It seems to have work. However, the 3D solid was not a half dome, it was a dome on both sides of the XY axis. . . . . |
Yes, that is the way the routine works. The routine is very basic. You would have to adjust dimensions, Height specifically, to accommodate the necessary slice.
mmaurigi wrote:
. . . . Also, I did get a message on the Command Line saying "Error Producing Solid". | Wow! You get that message, as well as the ellipsoid. That message should only appear if the routine errors out. Something squirrely going on with the Solid3D functions. I advise using this routine only in isolated sessions of AutoCAD. Cut and paste into a archive drawing if necessary.
I'll try to get one of the Autodesk DevTechs to take a peek. I'll post back if I hear anything.
Actually, that is a debugging remnant . the Solid3Ds are slightly more "solid" than I implied above.
Edited by SEANT - 09.Oct.2013 at 23:35
|
 |
mmaurigi
Groupie
Joined: 21.Oct.2012
Location: United States
Using: AutoCAD 2009
Status: Offline
Points: 43
|
Posted: 09.Oct.2013 at 22:50 |
Thanks for the modified code. It seems to have work. However, the 3D solid was not a half dome, it was a dome on both sides of the XY axis. I had to slice it along that axis to get what I wanted. Also, I did get a message on the Command Line saying "Error Producing Solid".
Othe than that, it worked great.
SEANT wrote:
Here is the modified code.
|
|
 |
SEANT
Groupie
Joined: 09.Jan.2012
Location: United States
Using: AutoCAD 2016
Status: Offline
Points: 31
|
Posted: 09.Oct.2013 at 21:29 |
Here is the modified code. (see later updates)
Edited by Vladimir Michl - 18.Oct.2013 at 14:06
|
 |
SEANT
Groupie
Joined: 09.Jan.2012
Location: United States
Using: AutoCAD 2016
Status: Offline
Points: 31
|
Posted: 09.Oct.2013 at 21:25 |
I can certainly confirm something amiss. The routine as posted earlier works on my desktop, but not on the laptop. I've isolated the problem to the Solid3D.Slice( surface As Autodesk.AutoCAD.DatabaseServices.Surface) call, but I haven't found out why it fails intermittently. AutoCAD may be haunted. I did modify the procedure a bit, and it now works on both of my machines. In case anyone's up for another go, I'll post the modified code. Due to a couple of reasons, all valid no doubt, posts from a "Newbie" containing attachments require moderator involvement. I'll attach the new code to a post directly following this one.
|
 |
SEANT
Groupie
Joined: 09.Jan.2012
Location: United States
Using: AutoCAD 2016
Status: Offline
Points: 31
|
Posted: 09.Oct.2013 at 18:42 |
I shall look into it promptly.
|
 |