| | unofficial new primitive -- "Rounded Corner" [DAT]
|
|
Hi, While encoding the Arm piece for the Minifig Skeleton, I encountered something for which I needed a primitive (and I couldn't find anything like it among the existing primitives). At the "wrist" of the Skeleton Arm, there are four (...) (24 years ago, 14-Sep-00, to lugnet.cad.dat.parts.primitives)
|
|
| | Re: unofficial new primitive -- "Rounded Corner"
|
|
OK, I've finished this primitive, but before I re-submit it, I need to know a couple of things... Just what do I call the DAT file? On my PC's hard drive, I'm calling it "RND-CRNR.DAT". Is that food enough? Also, what extra steps (if any) do I need (...) (24 years ago, 15-Sep-00, to lugnet.cad.dat.parts.primitives, lugnet.cad.dev)
|
|
| | Re: unofficial new primitive -- "Rounded Corner"
|
|
[snipped Franklin's post] Some comments/questions: What is the definition of this part? Is it a section of a sphere? What are the angles and radii of the curved edges? Could you reverse the shape, so it is convex? This would make it easier to fit (...) (24 years ago, 15-Sep-00, to lugnet.cad.dat.parts.primitives)
|
|
| | Re: unofficial new primitive -- "Rounded Corner"
|
|
It is not part of a sphere. It can be thought of as a virtual cube which has had one corner sliced away in a curved fashion. Or to put it another way, it is the grey area in this image: "(URL) radii are "1", and its angles are 90 degrees (i.e., 1/4 (...) (24 years ago, 15-Sep-00, to lugnet.cad.dat.parts.primitives)
|
|
| | Re: unofficial new primitive -- "Rounded Corner"
|
|
(...) UPDATE! It _is_ part of a sphere, I just realized, a sphere having a radius of "the square root of 2"! This primitive is one octant of that sphere with three faces "planed/smoothed off" so that the resulting object will fit inside a cube (...) (24 years ago, 15-Sep-00, to lugnet.cad.dat.parts.primitives)
|
|
| | Re: unofficial new primitive -- "Rounded Corner"
|
|
Ooo, cool. That means each of the colored faces in your image is a 1-4disc.dat, right? That'll work very nicely. I'll forward this to the primitives committee. Do you mind if I use it in the skeleton leg file? Steve (...) (24 years ago, 15-Sep-00, to lugnet.cad.dat.parts.primitives)
|
|
| | Re: unofficial new primitive -- "Rounded Corner"
|
|
I forgot to mention that I have another image (...) (24 years ago, 15-Sep-00, to lugnet.cad.dat.parts.primitives)
|
|
| | Re: unofficial new primitive -- "Rounded Corner"
|
|
(...) Yup. (...) Go for it. :-) Also, if needed, please feel free to copy the image(s) for illustrating what this primitive is for. Franklin (24 years ago, 15-Sep-00, to lugnet.cad.dat.parts.primitives)
|
|
| | Re: unofficial new primitive -- "Rounded Corner"
|
|
(...) You mean you've managed to add the type 5 lines ? [snip] (...) To me, it's a special kind of sphere, so what fo you all think of 1-8sph-c.dat (standing for 1/8 of a sphere, cut of to fit in a corner) Greatings, M. Moolhuysen. (24 years ago, 15-Sep-00, to lugnet.cad.dev)
|
|
| | Re: unofficial new primitive -- "Rounded Corner"
|
|
(...) There's a primitives group who decides if the primitive should be accepted or not (it's been a while since we last discussed anything so I don't know if it's still active). I don't have the list of members in this computer so I think the best (...) (24 years ago, 15-Sep-00, to lugnet.cad.dev)
|
|
| | Re: unofficial new primitive -- "Rounded Corner"
|
|
(...) Yah, that would be the thing to do: send it to partsref@home.com. (...) I'm planning on using it in the skeleton leg, and maybe retro-fitting it into the minifig torso.[1] (24 years ago, 15-Sep-00, to lugnet.cad.dev)
|
|
| | Re: unofficial new primitive -- "Rounded Corner" [DAT]
|
|
(...) To be more specific: could this file be re-oriented, so that figures like (URL) can be constructed as: 1 1 0 1 0 1 0 0 0 1 0 0 0 1 1-4disc.dat 1 2 1 0 0 0 1 0 1 0 0 0 0 1 1-4disc.dat 1 4 0 0 1 1 0 0 0 0 1 0 1 0 1-4disc.dat 1 14 0 0 0 1 0 0 0 1 (...) (24 years ago, 15-Sep-00, to lugnet.cad.dat.parts.primitives)
|
|
| | Re: unofficial new primitive -- "Rounded Corner"
|
|
(...) Good suggestion. Except without the second dash, please. Could you make the title be: 1/8 Sphere Cut Off And add some comment lines, something like: 0 This figure is a sphere (radius 2^.5) intersected with a 0 standard-sized LDraw box (see (...) (24 years ago, 15-Sep-00, to lugnet.cad.dev)
|
|
| | Re: unofficial new primitive -- "Rounded Corner"
|
|
(...) Yes, thanks to your message with explanatory image. :-) Please consider giving that to whomever is in charge of maintaining the L-CAD FAQ at ldraw.org. (...) Using Steve's sugggestion as well, I'll call it "1-8sphc.dat". I've also inserted (...) (24 years ago, 15-Sep-00, to lugnet.cad.dev)
|
|
| | Re: unofficial new primitive -- "Rounded Corner"
|
|
(...) Ooo, ick. I'll look into that. There's plenty of code in LDAO that does substitutions like tabs to blanks and CRs to CRLFs, but I don't remember doing anything with commas. And I usually pass code around in text buffers, not using the inherent (...) (24 years ago, 16-Sep-00, to lugnet.cad.dev)
|
|
| | Re: unofficial new primitive -- "Rounded Corner"
|
|
(...) It took me a while, but I finally realized why I'm so hesitant to re-orient this file... It's (part of) a sphere, and _all_ of the sphere (and disc/non-disc/edge) files are oriented such that the "centerpoint" (i.e., focus) of the (...) (24 years ago, 16-Sep-00, to lugnet.cad.dev)
|
|
| | Re: unofficial new primitive -- "Rounded Corner" [DAT]
|
|
(...) Huh? The way you've got the file now, the sphere's centerpoint is at <1,1,1>. (...) The current orientation of the file has the 'bulge' going toward the origin, not away from it. So I'd say it's bulging inward. (...) You've got that whole (...) (24 years ago, 18-Sep-00, to lugnet.cad.dev)
|