Special:
|
[DAT] (requires LDraw-compatible viewer)
|
Subject:
|
Setting Scite editor for ldraw?
|
Newsgroups:
|
lugnet.cad
|
Date:
|
Fri, 3 Jun 2005 10:45:18 GMT
|
Viewed:
|
1280 times
|
| |
| |
Does anyone use Scite?
And if so how do you add Ldraw code language in Scite?
Oh and how do you set Scite to auto reload the file you have in scite and in
mlcad for example?
Another last thing is it possible to have a new language called ldraw-povray?
Example something I have in mind
--------------------------------
0 New Model
0 Name: ls6115.ldr
0 Author: Eduardo Vazquez Harte
0 Unofficial Model
0 ROTATION CENTER 0 0 0 1 "Custom"
0 ROTATION CONFIG 0 0
1 0 0 0 0 1 0 0 0 1 0 0 0 1 LS6115a.ldr
0 WRITE remove comment #if (LS6115_show_minifig=1)
1 0 0 -84 30 1 0 0 0 1 0 0 0 1 LS6115m1.ldr
0 WRITE remove comment #end
0 WRITE Right minifig flipper
0 WRITE remove comment #if (LS6115_show_right_flipper=1)
1 0 -50 -6 58 -1 0 0 0 0 1 0 1 0 2599.DAT
0 WRITE remove comment #end
0 Write Left minifig flipper
0 WRITE remove comment #if (LS6115_show_left_flipper=1)
1 0 50 -6 58 -1 0 0 0 0 1 0 1 0 2599.DAT
0 WRITE remove comment #end
1 57 0 -52 89 1 0 0 0 1 0 0 0 1 6041.DAT
0 WRITE remove comment #if (ls6115_Propellor=0) // no movement
0 WRITE remove comment translate<0,-52,89>
0 WRITE remove comment #end
0 WRITE remove comment #if (ls6115_Propellor=1) // rotate left
0 WRITE remove comment rotate From (0, <0,0,0>) Using ("" , 1, 1, "") To (1,
<0,0,360>)
0 WRITE remove comment translate<0,-52,89>
0 WRITE remove comment #end
0 WRITE remove comment #if (ls6115_Propellor=2) // rotate right
0 WRITE remove comment rotate From (0, <0,0,0>) Using ("" , 1, 1, "") To (1,
<0,0,-360>)
0 WRITE remove comment translate<0,-52,89>
0 WRITE remove comment #end
0 WRITE remove comment }
0
0
And about Mlcad why does Mlcad add a 0 every time I same a MPD?
I end up with something like
0
0
0
0
0
At the end of the MPD.
Thanks
|
|
Message has 1 Reply:
3 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|