DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

dome

Started by wgwade, May 13, 2011, 03:04:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

wgwade

Just a *.jpg of my dome, all made with math, only shading done in Design Cad 21.

Rob S

Cool.

Did you import xyz co-ordinates into Designcad for the model, or is the math done in a Designcad macro?
User since forever

wgwade

Math done in Liberty Basic 4.04, Had problems doing the math in Design Cad macro. When I get it to work in DC macros I will post the program. I still need help with shade commands, how do I get SHADESECTION to work from a macro, not just from Design Cad ?.
Regards Bill.

Rob S


I'm not sure, but in many cases you can set DCAD to record a macro, and then perform the action onscreen, and save the macro.

Then you can see what it records, and edit to suit.
User since forever

wgwade

I can get the Shading options box to open from the macro.
This is what I want.
Quick (Flat) or Gouravd (Medium quality)
All view
NO Text, Dimensions or Arrow
Enable graphics acceleration
Than execute the above commands from the macro.
Thanks Bill.

DrollTroll

For your amusement and/or enlightenment:


Sys(71) = 0 'activate main view'
>QShade   'set the text, line, etc. options for the Shade command'
{
  <ShowText 0
  <ShowDim 0
  <ShowLine 0
  <ShowArrow 0
  <NULL 'this parameter prevents the shade command from actually running, just sets the other parameters'
  }
Sys(2)= 3  'set the view to use OpenGL Smooth Shading
Message "OpenGLShade"
Sys(2) = 1 'set the view to use OpenGL Hidden Line
Message "OpenGLHidden"
Sys(2) = 0 'Set the view to Wireframe mode
25 years with DesignCAD

wgwade

Thank you, that's works. When I fix  all the code I will post it.
Is there a listing with all of the sys commands, and what they are used for ?.
Thanks Bill.

Rob S

The latest was written for V17.2, most of which still works.

Here and there in the forum you will find recent updates

http://forum.designcad.com/index.php?topic=2835.0
User since forever