To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 9082
9081  |  9083
Special: 
[DAT] (requires LDraw-compatible viewer)
Subject: 
Re: Proposed solution *Test Here*
Newsgroups: 
lugnet.cad.dev
Date: 
Sat, 19 Jul 2003 01:58:38 GMT
Viewed: 
1830 times
  
In lugnet.cad.dev, Travis Cobbs wrote:
Lars: any chance of recognizing <partname>.ums and treating it as an alias for
<partname>.dat in L3P?  I believe that would solve the problem.

Yes. No. ;-)
There's still a problem with mirrored sub-assemblies.
Suppose you have an aeroplane, Plane.ldr:
1  2 0  0 0  0 0 1 0 1 0 -1 0 0 2445.DAT
1 16 0 -8 0  1 0 0 0 1 0 0 0 1 Wing.ldr
1 16 0 -8 0 -1 0 0 0 1 0 0 0 1 Wing.ldr
Wing.ldr:
1  4 -80 0 -20 0 0 1 0 1 0 -1 0 0 3933.DAT
1 14 -80 0  60 0 0 1 0 1 0 -1 0 0 3934.DAT

UnMirrorStuds generates Plane.ums:
1  2 0  0 0  0 0 1 0 1 0 -1 0 0 2445.DAT
1 16 0 -8 0  1 0 0 0 1 0 0 0 1 Wing.ums
1 16 0 -8 0 -1 0 0 0 1 0 0 0 1 Wing.um2
Wing.ums:
1  4 -80 0 -20 0 0 1 0 1 0 -1 0 0 3933.DAT
1 14 -80 0  60 0 0 1 0 1 0 -1 0 0 3934.ums
Wing.um2:
1  4 -80 0 -20 0 0 1 0 1 0 -1 0 0 3933.um2
1 14 -80 0  60 0 0 1 0 1 0 -1 0 0 3934.DAT

I can let L3P take 3934.ums as an alias for 3934.dat, so far so good.
For 3933.um2 I believe I can generate POV code to create a LGEO part
with mirrored studs by temporarily defining a mirrored lg_knob (the LGEO stud)
before sourcing the LGEO part.
But UnMirrorStuds is "too clever" and it detects the double mirroring
of 3934 and simply puts 3934.DAT in Wing.um2.
But here we need an LGEO part with mirrored studs - perhaps
UnMirrorStuds can put 3934.um2 in Wing2.um2 ?
/Lars



Message is in Reply To:
  Re: Proposed solution *Test Here*
 
(...) Thanks for the info. After further consideration, I realized that there is one other thing that will prevent the -lgeo option from working properly, even for models that don't have mirrored sub-assemblies. Any parts in the part library that (...) (21 years ago, 11-Jul-03, to lugnet.cad.dev)

9 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR