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.

Hash marks

Started by Shipmodeler, March 26, 2014, 12:42:47 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Shipmodeler

Thanks much.  I'll give that a try and see what happens.
"A man can never say he has truly lived until he has built a model ship"
Ronald Reagan

prl

Quote from: Shipmodeler on March 28, 2014, 12:12:29 PM
Thanks much.  I'll give that a try and see what happens.

Shipmodeler, 

John R's comment is about a TurboCAD capability.  So there is hope for DesignCAD since the guru programmers for TurboCAD are also the ones for DesignCAD, or so I understand.

Shipmodeler

Yeah, I noticed that.   :-[
"A man can never say he has truly lived until he has built a model ship"
Ronald Reagan

John R

Something to add to the "Feature Requests" board. With enough people behind it, it could become a reality.
John R.

samdavo

"A man can never say he has truly lived until he has hashed up a model ship"
...
Hey SM   (lol - pisstake alert)  :)
I would have thought a few people would find bungy-jumping equally life-validating ! :)
And is it true that ship modellers need Valium tablets when they're modelling ships? just to keep the adrenaline in check? 
cheers

accuratesteel

I had the same problem. with the help of some of the designcad community I have two macros which I use all the time for hash marks. The hash-16 macro allows you to put up to 30 mash marks at a time with a red line which is scaled according to the current text size. Mine is .15 text size on a 1" scale, but you can change this. before I plot my drawings I run "bycolorplot" which changes the width of black, green and red lines to different widths. They work wonderful.
accuratesteel

accuratesteel

I'm sorry in this version of the macro it pulls up a symbol of a hash mark and sizes it.
accuratesteel

Shipmodeler

Quote from: samdavo on March 28, 2014, 03:37:25 PM
"A man can never say he has truly lived until he has hashed up a model ship"
...
Hey SM   (lol - pisstake alert)  :)
I would have thought a few people would find bungy-jumping equally life-validating ! :)
And is it true that ship modellers need Valium tablets when they're modelling ships? just to keep the adrenaline in check? 
cheers

Valium?  No, but a never ending supply of reading glasses and wine is a must have.  The older I get, the stronger they need to be.  :D
"A man can never say he has truly lived until he has built a model ship"
Ronald Reagan

accuratesteel

Here is a macro that draws a red hashmark up to 30 places at a time, the hash mark is scaled relative to text size so it always looks correct. You wpould still have to run the "bycolorplot" shown above before plotting to widen the red lines before plotting
accuratesteel

'Hash-17.BSC, REVISED FOR WINDOWS  3d max 17
'Hash line for dimensioning
DIM X(30), Y(30), Z(30)
SYS(1)=0
FOR S = 1 TO 30
   SETPOINT "SET POINT FOR HASH MARK " 1
   IF NOT SYS(1) THEN GOTO DRAW
   GETXY X(S) Y(S) Z(S)1
   SYS(1)=0
NEXT S


DRAW:
FOR P=1 TO (S-1)

ts = sys(12)/.15

>Line
{
  <Color 255,0,0
  <LineStyle 0,4.5164,0.0000
  <PointXYZ [(x(P),y(P),z(P)]
  <PointXYZ [(x(P)-(ts*.03),y(P)-(ts*.03),z)]
  <PointXYZ [(x(P)+(ts*.03),y(P)+(ts*.03),z)]
  }


SYS(300)=0
SYS(301)=0
SYS(302)=0

NEXT P