LDraw file generation


LDraw file generation
#1
I draw and build a lot of cylindrical structures. The builds turn out good but the drawings are not worth much (IMHO). The cylinders are always made up of two brick segments, a 1x2 brick followed by a 1 round brick, with the second and subsequent rows off set by 1 brick. Pretty standard approach.

I would like to programmatically ( spreadsheet ) develop an LDraw file that has better resolution than I can obtain by tweaking individual bricks in a drawing.

Am studying files that I downloaded of small walls both straight and the same wall curved by a specific number of degrees per segment and am working on how the coordinates are computed. Not as straight forward as I had expected.

I am not a math person so the translation matrices throw me. I was hoping that I could find a way that I could calculate the various values for each row. I was wondering if there was an explanation somewhere of how the translation is done. The actual trig would be wonderful.

One other thing,that I was not able to find, was where do the coordinates refer to. The geometric center of the brick? or someplace else.

It looks like there is no spacing between bricks in the computations. Is that correct?

Any help would be appreciated. If anyone else has tried this please let me know. If this is a Don Quixote situation also let me know.
Thanx,
Ed
Reply
« Next Oldest | Next Newest »



Messages In This Thread
LDraw file generation - by Ed Bardet - 2019-07-29, 15:41
RE: LDraw file generation - by Roland Melkert - 2019-07-29, 19:30
RE: LDraw file generation - by Travis Cobbs - 2019-07-29, 19:50
RE: LDraw file generation - by Ed Bardet - 2019-07-29, 21:16
RE: LDraw file generation - by Ed Bardet - 2019-07-30, 20:24
RE: LDraw file generation - by Gerald Lasser - 2019-07-30, 22:10
RE: LDraw file generation - by Ed Bardet - 2019-07-30, 22:14
RE: LDraw file generation - by Travis Cobbs - 2019-07-30, 22:13
RE: LDraw file generation - by Ed Bardet - 2019-07-30, 22:43
RE: LDraw file generation - by Ed Bardet - 2019-07-31, 11:21
RE: LDraw file generation - by Ed Bardet - 2019-07-31, 21:55
RE: LDraw file generation - by Willy Tschager - 2019-08-02, 16:30
RE: LDraw file generation - by Orion Pobursky - 2019-08-02, 16:40
RE: LDraw file generation - by Willy Tschager - 2019-08-03, 10:01
RE: LDraw file generation - by Johann Eisner - 2019-08-03, 10:26
RE: LDraw file generation - by Ed Bardet - 2019-07-31, 22:00

Forum Jump:


Users browsing this thread: 1 Guest(s)