|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
cannot get the right syntax for this macro
Have tried a number of different ways
this is one of them
#macro Bevelled_Text(timrom, Wonder,4, 25, 3, 2, -1 )
any ideas what I am doing wrong
shapes.inc
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
DGClarke wrote:
> #macro Bevelled_Text(timrom, Wonder,4, 25, 3, 2, -1 )
1. Keyword #macro is only for defining a macro, not for calling it
2. My version of shapes.inc has 8 parameters, you seem to be missing one
#macro Bevelled_Text(Font, String, Cuts, BevelAng,
BevelDepth, Depth, Offset, UseMerge)
UseMerge should be true if for transparent material, otherwise false
3. Strings require quotes and it may be the font name requires
extension: "timrom.ttf", "Wonder".
4. Also, best to try a unbevelled text object first
text {ttf Font String Depth, Offset}
Then you can see how big it is and use appropriate values
for bevelling. Text height will be of order 1.0 so your
values may be too large.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> DGClarke wrote:
>
>> #macro Bevelled_Text(timrom, Wonder,4, 25, 3, 2, -1 )
>
> 1. Keyword #macro is only for defining a macro, not for calling it
>
> 2. My version of shapes.inc has 8 parameters, you seem to be missing one
>
> #macro Bevelled_Text(Font, String, Cuts, BevelAng,
> BevelDepth, Depth, Offset, UseMerge)
>
> UseMerge should be true if for transparent material, otherwise false
>
> 3. Strings require quotes and it may be the font name requires
> extension: "timrom.ttf", "Wonder".
>
> 4. Also, best to try a unbevelled text object first
>
> text {ttf Font String Depth, Offset}
>
> Then you can see how big it is and use appropriate values
> for bevelling. Text height will be of order 1.0 so your
> values may be too large.
Another thing, your offset is -1, whitch get expanded to <-1, -1, -1>.
The macro then impose a value of zero to the z component.
This effectively shift your characters left and down one unit from the
preceding one. This will NOT place your characters in a vertical line as
they probably don't all have the same width. Most fonts are
proportional. "i" and "." are very narow, while "W" and "M" are prety
whide...
It best to start with an offset of 0. If you use a non-zero value, you
should provide a full vector.
Alain
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Thankyou for the help...this works
Bevelled_Text("timrom.ttf", "Wonder",1, 1, 1, 1, 0, false )
Christian Froeschlin <chr### [at] chrfrde> wrote:
> DGClarke wrote:
>
> > #macro Bevelled_Text(timrom, Wonder,4, 25, 3, 2, -1 )
>
> 1. Keyword #macro is only for defining a macro, not for calling it
>
> 2. My version of shapes.inc has 8 parameters, you seem to be missing one
>
> #macro Bevelled_Text(Font, String, Cuts, BevelAng,
> BevelDepth, Depth, Offset, UseMerge)
>
> UseMerge should be true if for transparent material, otherwise false
>
> 3. Strings require quotes and it may be the font name requires
> extension: "timrom.ttf", "Wonder".
>
> 4. Also, best to try a unbevelled text object first
>
> text {ttf Font String Depth, Offset}
>
> Then you can see how big it is and use appropriate values
> for bevelling. Text height will be of order 1.0 so your
> values may be too large.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Thankyou for the help...this works
Bevelled_Text("timrom.ttf", "Wonder",1, 1, 1, 1, 0, false )
Alain <kua### [at] videotronca> wrote:
> > DGClarke wrote:
> >
> >> #macro Bevelled_Text(timrom, Wonder,4, 25, 3, 2, -1 )
> >
> > 1. Keyword #macro is only for defining a macro, not for calling it
> >
> > 2. My version of shapes.inc has 8 parameters, you seem to be missing one
> >
> > #macro Bevelled_Text(Font, String, Cuts, BevelAng,
> > BevelDepth, Depth, Offset, UseMerge)
> >
> > UseMerge should be true if for transparent material, otherwise false
> >
> > 3. Strings require quotes and it may be the font name requires
> > extension: "timrom.ttf", "Wonder".
> >
> > 4. Also, best to try a unbevelled text object first
> >
> > text {ttf Font String Depth, Offset}
> >
> > Then you can see how big it is and use appropriate values
> > for bevelling. Text height will be of order 1.0 so your
> > values may be too large.
>
> Another thing, your offset is -1, whitch get expanded to <-1, -1, -1>.
> The macro then impose a value of zero to the z component.
>
> This effectively shift your characters left and down one unit from the
> preceding one. This will NOT place your characters in a vertical line as
> they probably don't all have the same width. Most fonts are
> proportional. "i" and "." are very narow, while "W" and "M" are prety
> whide...
>
> It best to start with an offset of 0. If you use a non-zero value, you
> should provide a full vector.
>
>
> Alain
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|