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 / 7726
7725  |  7727
Subject: 
Re: Segmented parts (ie hoses and flex tubes)
Newsgroups: 
lugnet.cad.dat.parts, lugnet.cad.dev
Date: 
Sat, 24 Aug 2002 02:29:53 GMT
Viewed: 
87 times
  
In lugnet.cad.dat.parts, Travis Cobbs writes:
Looking at some of the files generated using the new curve generator
LDDesignPad plugin by Orion (as well as files generated by the EMacs macro
it is based on), I noticed a problem when displaying with LDView (which
might also effect L3P output).

The problem is that the segment files in the parts library are treated as
parts, and therefore get shrunk when seams are enabled.  This turns the nice
smoothly curved tubes into a bunch of segments with tiny gaps between them.
I want to make it so that LDView recognizes these files and doesn't shrink them.

So what is the best way to determine that a part is actually only a segment?

I think it would be reasonable to consider segments as primitives.
Move them to the P folder. Then they will not be shrunk.
End pieces are still considered as parts.

I don't know how the curve generator works, but if it generates a new complete part
which references both the end pieces and the segments in between,
AND "marks" the part as a part-type ("0 Unofficial Part") then the whole part
will get shrunk nicely as a union.

If, on the other hand, the curve generator simply generates an end piece, some segments
and another end piece, then the end pieces will get shrunk, but not the segments.
When seams are enabled, it is fair to shrink the end pieces, but depending on the
curve generator, a small gap may occur between the end piece and the first segment.
/Lars
PS. L3P currently does not recognize "0 Unofficial Part", only files from the PARTS folder
are considered parts. But I'm likely to change that!
(i.e. currently a part like the first one mentioned above will not be shrunk at all)



Message has 3 Replies:
  Re: Segmented parts (ie hoses and flex tubes)
 
(...) Actually, the part mentioned was in the Parts directory (it is an official part), so it would presumably be shrunk by L3P. As for the rest, I agree that making them primitives makes sense, but I'm not sure the part authors will agree. I guess (...) (22 years ago, 24-Aug-02, to lugnet.cad.dat.parts, lugnet.cad.dev)
  Re: Segmented parts (ie hoses and flex tubes)
 
(...) Doing so would cause a problem with LeoCad which doesn't display primitives not included in a part. This is the case with flexible axles (created form primitives), they have to be created as part, then imported as new part in LeoCad library... (...) (22 years ago, 24-Aug-02, to lugnet.cad.dat.parts, lugnet.cad.dev)
  Re: Segmented parts (ie hoses and flex tubes)
 
(...) These files don't work as primitives. A primitive file should be either a geometric construction (like an arc, disc, cylinder, etc) or a lego-centric feature that is likely to be reused among a large number of different files (like studs, (...) (22 years ago, 26-Aug-02, to lugnet.cad.dat.parts, lugnet.cad.dev)

Message is in Reply To:
  Segmented parts (ie hoses and flex tubes)
 
Looking at some of the files generated using the new curve generator LDDesignPad plugin by Orion (as well as files generated by the EMacs macro it is based on), I noticed a problem when displaying with LDView (which might also effect L3P output). (...) (22 years ago, 23-Aug-02, to lugnet.cad.dat.parts, lugnet.cad.dev)

11 Messages in This Thread:




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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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