LDraw file generation


RE: LDraw file generation
#12
So... here is the spreadsheet I used to find wall solutions (at least some of them!). Problem is that for most diameters you'll need approximations (a circle that is not really a circle). The method I use works only in the case where we are "close enough" of circle.
"Rounded Nseg" is the number of segments needed to approximate a given circle diameter. This number must be at least divisible by 3 (to close the circle), in orange, better by 6 (yellow) to have a full diameter 'on grid', even better (green) divisible by 12 to get two orthogonal diameter 'on grid'. "Effective R (studs)" gives the radius (distance from origin) for the first 1x2 brick. "EffectiveAngle" is the rotation around origin of the next 1x2 brick. "Diameter error" show precision of diameter. Closest to 0 (green) is best, but higher values are acceptable (orange), this is the case for D=23 circle attached.


Attached Files
.xls   brickcircle2.xls (Size: 42.5 KB / Downloads: 9)
.ldr   walltest2.ldr (Size: 9.71 KB / Downloads: 7)
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 Philippe Hurbain - 2019-07-31, 19:02
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: 6 Guest(s)