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.

using question marks in Custom LineStyle Editor

Started by B.Ullett, May 24, 2013, 02:21:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

B.Ullett

(Using DesignCAD 3D MAX 22)

I'm trying to create a linestyle that has a question mark in it. Looking under the Edit Shapes menu in the Custom LineStyle Editor it looks like I can only use letters, numbers and the preloaded symbols. Is there any way around this?

samdavo

#1
BU
This is a pretty old thread
But here's an attempt at your question mark linestyle :-
(PS It's made of a couple of zig-zags, with a line and a circle underneath).

The safest way is to load this drawing, then copy the line
then paste it into your next drawing.
(because I can't guarantee it will remain stable in DCLStyle.sys.

However, whilst I am at it, I enclose DCLStyle.sys with this added.   

Btw, note that it doesn;t work reliably with curves (for some reason?)



samdavo

If anyone is interested,
I enclose some of the standard linestyles.
eg
OIL  = 3 letters
PIPE = 4 letters
CABLE = 5 letters etc.

You can either change these to other letters - to make,
eg
EIEIO,   or maybe
LOCUS,  or 
AXIS

-  but it's not necessarily as easy as that - and to be honest it's probably better to read the instructions several times first.  Maybe go for "add a new Text Shape", page 284 of the V22 Reference Manual  ( 2 cents). 

samdavo

#3
Whilst I am at it,

Here is an improved version of "Linestyle Semi"  - which draws a cloud around a revision for instance.

But this one starts at the start of the line, not before the start of the line ( which the standard one does).

The change from the standard "Semi" linestyle is dead simple - I just change X from 0 to 0.5. (THe hops are 1 long at that stage of the programming, i.e. before scale is applied).

This time I have not amended  DCLStyle.sys - and the best way (I believe) is to copy this line into a new drawing.
(or maybe you are cleverer than me and can make DCLStyle.sys hold this amendement stably.)

Note that I have drawn a rectangle exactly 100x40,  and then amended it to Semi linestyle, scale of 10.   And there are exactly 10 hops along x 4 hops high.   

But if you look at the last png enclosed, - which is the STANDARD Semi linestyle, there is a weird overhanging fingernail at each corner, where a hop ends up in space.

What was that joke ...
Skippy the bush kangaroo has broken a long silence and disclosed to the press that she's quite annoyed that, not only did Rolf Harris tie her down, but he's been singing about it ever since!   

samdavo

#4
OK a few questions (speaking of question marks :)  ) ...

Before that, since I have added another linestyle called "ON HOLD", I enclose a dcd with examples of the three lines discussed so far - which can be cut and pasted.   
a) question mark (?),
b) amended semi-cloud
c) ON HOLD. 

I also attempt to use these for curves ( circular arcs) - and find that  ...
a) the question mark is hopeless - forget it for curves.
b) I can't make the hops of Semi-cloud appear on the top of the curve ( i.e I tried reversing the direction of the line but it made no difference)
c) same for "ON HOLD"  which can be upside down,   and also the text doesn't like to bend.    (ie you couldn;t use this for a long text message on a curve, because it would fly out at a tangent)

My main question is, how do you reverse the semi-cloud linestyle so that the hops appear on the top of the rainbow?

prl

Quote from: samdavo on July 12, 2014, 06:45:29 PM
My main question is, how do you reverse the semi-cloud linestyle so that the hops appear on the top of the rainbow?

Not an expert on this, but it looks as if DesignCAD doesn't like circular arcs.  Convert the arcs to curves and reverse the points.

A movie - Sam's over the rainbow question

The fbr file for those that have the BB Flashback Express Player


samdavo

#6
Ahh - thanks for that prl
You make it look too easy.

vc = vector convert (arc to line)
L2C = line to curve
reverse direction of line  curve in infobox.

( I didn't know you had to do that to be able to reverse an arc  :)  )
I guess ON HOLD upside down was potentially going to show (to the subconscious) as NO HOLDS (BARRED).
(go DCAD !!)

prl

Quote from: samdavo on July 13, 2014, 02:02:11 AM
( I didn't know you had to do that to be able to reverse an arc  :)  )

Ah, gave me another chance to play with the movie thing.

But if I were to do this in a real work situation, I would possibly create a second set of entities.  The circular arcs are being replaced by curves and that may not be desirable.

samdavo

#8
Quote from: prl on July 13, 2014, 02:17:02 AM
1.  Gave me another chance to play with the movie thing.

2.  But if I were to do this in a real work situation, I would possibly create a second set of entities.  The circular arcs are being replaced by curves and that may not be desirable.
1.  I intended trying making a movie this weekend , but here it is 8.30pm Sunday, and doesn;t look like it will hpapen ( to that timeframe anyway).   I find (with Win 7) that your first link downloads, and then has to be opened - easy as!

Here I'll add a trivial comment, but the first step above (VC = vector convert) was enough to (edit) permit the direction to be reversed - and hence reverse the hops on the rainbow. 

2. ok, You are saying I believe that you would have a curve AND a circular arc superimposed. (?)   Makes sense!!

  All I know is that I leave most arcs as  circular arcs rather than vectors or curves,  because
a. the centre can still be located  for dimensioning, (and  99% of my drwgs are 2D only, perhaps with a 3D jpeg added); and
b. radius of eg fillets etc likewise
c. it is particularly so for my types of components/drawings, which frequency use circular elements - but I always use four 90 degree quadrant arcs rather than a circle. (2 cents).

You lose the centre if you combine lines ( eg the two lines that meet including a circular fillet between them)
Can't remember the last time I "combined" these lines - or converted to vectors , or curves.  (other than to do a 3D extrusion I guess).

But if you have both arc and (curve or vector) you get the best of both worlds I guess. 

PS  On another matter ...  Call this a "tip" - but most wouldn't care less I imagine lol.
Most "clouds" would (I imagine) be drawn freehand as a closed curve.    In that case, (and this helps to make it join neatly at the ends),  I would go to Infobox (having selected a first draft curved loop), and make the length an even number of 10's (or 20's or whatever the scale is) - and you can amend this easily in infobox - and then the hops will start and end at pretty much the same point - ...other than some oversteer/  spinout  at any sharp corners :)

prl

Quote from: samdavo on July 13, 2014, 03:20:48 AM
I find (with Win 7) that your first link downloads, and then has to be opened - easy as!

Thanks Sam.  Is this because of your browser preference setting, or flashblock plug-in?  With so many video formats (FLV, MPEG, AVI, SWF, etc.), trying to come to some sort of understanding which one has fewest hassles.  Similar to what Phil pointed out with the lack of rewind on the Camstudio flash files.

samdavo

well for starters, jpegs do exactly the same thing, so it is bound to be my browser settings. (i.e. the fact it downloads to a line neat the status bar - to be available for opening as a second stage.