| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 203 online users. » 1 Member(s) | 197 Guest(s) Applebot, Baidu, Bing, Google, Yandex, N. W. Perry
|
|
|
| Filepath Backslash(\) or Forwardslash(/) |
|
Posted by: Hageta - 2025-08-18, 15:16 - Forum: Parts Authoring
- Replies (6)
|
 |
All the documentation I found used backslashes(\) for filepaths e.g "s\subpart.dat". But I could not find if forward slashes(/) are also allowed. LDView can use either without any errors, while LDPe does show an error. If either both or only backslashes are allowed it should be mentioned in the Documentation either under filename or a new section. I do ask this because in ConvertToLDraw I currently use forward slashes and I got this Bug report. I will change the filepaths if they are out of spec.
|
|
|
| Adding stud.dat seems to corrupt geometry |
|
Posted by: CJ H. - 2025-08-15, 17:14 - Forum: Parts Authoring
- Replies (2)
|
 |
I'm working on a custom part that is basically a face with a 1x2 plate stuck on to the back of it. The face is a complex mesh with about 45k triangles (no quads).
To be sure my studs will have the correct shading in building instructions developed in Studio, I am adding stud.dat in LDPE. However, that step seems to "corrupt" geometry in some way. After adding the stud.dat lines, the resulting part looks ok in Part Designer, but not in Studio. Many faces have disappeared and the remaining ones look distorted.
I have confirmed that the files are identical except for the `0 Name:` line and the two lines that reference stud.dat like so:
Code: 1 16 -10 0 0 1 0 0 0 1 0 0 0 1 stud.dat
1 16 10 0 0 1 0 0 0 1 0 0 0 1 stud.dat
I also tried adding the studs in Part Designer, but this had a similar effect.
If I delete the stud.dat refrences, the part works again works as expected in Studio (after a restart).
Any ideas as to why stud.dat references are causing a problem?
Apologies for not including images, and thanks in advance.
|
|
|
| Torus naming |
|
Posted by: Peter Blomberg - 2025-08-14, 8:29 - Forum: Parts Authoring
- Replies (3)
|
 |
I need a 5-24 torus (mixed-mode), but primgen2 is denoting any fraction other than the multiples of 2 with "99".
12-48 becomes 04
11-48 becomes 99
10-48 becomes 99
9-48 becomes 99
8-48 becomes 06
7-48 becomes 99
6-48 becomes 08
5-48 becomes 99
4-48 becomes 12
3-48 becomes 16
2-48 becomes 24
Should I just accept the name proposed by primgen2 or think about rotating a smaller prim?
If rotate a prim, then which is better; 6+rotated4 or 8+inlined2 ? The benefit of the latter is that the interface to the blocking element can be tailored.
|
|
|
|