Commit graph

45 commits

Author SHA1 Message Date
Revar Desmera
fdac4545e8 Added generic_airplane(), show_transform_list() 2023-10-04 22:33:53 -07:00
Revar Desmera
40ed50cfd8 BOSL2 logo source fix. 2023-04-28 17:10:49 -07:00
Olivier Chafik
63da84dcf6
Fix BOSL2logo.scad: tag syntax changed
Online demo of fix: https://ochafik.com/openscad2/#%7B%22params%22%3A%7B%22sourcePath%22%3A%22%2Fhome%2Fplayground.scad%22%2C%22source%22%3A%22include%20%3CBOSL2%2Fstd.scad%3E%5Cninclude%20%3CBOSL2%2Fgears.scad%3E%5Cninclude%20%3CBOSL2%2Fbeziers.scad%3E%5Cninclude%20%3CBOSL2%2Fscrews.scad%3E%5Cninclude%20%3CBOSL2%2Fcubetruss.scad%3E%5Cn%5Cn%24fa%3D1%3B%5Cn%24fs%3D1%3B%5Cn%5Cnxdistribute(50)%20%7B%5Cn%5Ctrecolor(%5C%22%23f77%5C%22)%5Cn%5Ctdiff(%5C%22hole%5C%22)%5Cn%5Ctcuboid(%5B45%2C45%2C10%5D%2C%20chamfer%3D10%2C%20edges%3D%5BRIGHT%2BBACK%2CRIGHT%2BFRONT%5D%2C%20anchor%3DFRONT)%20%7B%5Cn%5Ct%5Cttag(%5C%22hole%5C%22)cuboid(%5B30%2C30%2C11%5D%2C%20chamfer%3D5%2C%20edges%3D%5BRIGHT%2BBACK%2CRIGHT%2BFRONT%5D)%3B%5Cn%5Ct%5Ctattach(FRONT%2CBACK%2C%20overlap%3D5)%20%7B%5Cn%5Ct%5Ct%5Ctdiff(%5C%22hole2%5C%22)%5Cn%5Ct%5Ct%5Ctcuboid(%5B45%2C45%2C10%5D%2C%20rounding%3D15%2C%20edges%3D%5BRIGHT%2BBACK%2CRIGHT%2BFRONT%5D)%20%7B%5Cn%5Ct%5Ct%5Ct%5Cttag(%5C%22hole2%5C%22)cuboid(%5B30%2C30%2C11%5D%2C%20rounding%3D10%2C%20edges%3D%5BRIGHT%2BBACK%2CRIGHT%2BFRONT%5D)%3B%5Cn%5Ct%5Ct%5Ct%7D%5Cn%5Ct%5Ct%7D%5Cn%5Ct%7D%5Cn%5Cn%20%20%20%20recolor(%5C%22%237f7%5C%22)%5Cn%5Ctbevel_gear(pitch%3D8%2C%20teeth%3D20%2C%20face_width%3D12%2C%20shaft_diam%3D25%2C%20pitch_angle%3D45%2C%20slices%3D12%2C%20spiral_angle%3D30)%3B%5Cn%5Cn%5Ctx%20%3D%2018%3B%5Cn%5Cty%20%3D%2020%3B%5Cn%5Cts1%20%3D%2025%3B%5Cn%5Cts2%20%3D%2020%3B%5Cn%5Ctsbez%20%3D%20%5B%5Cn%5Ct%5Ct%20%20%20%20%20%20%20%20%20%20%20%20%5B-x%2C-y%5D%2C%20%5B-x%2C-y-s1%5D%2C%5Cn%5Ct%5Ct%5B%20x%2C-y-s1%5D%2C%20%5B%20x%2C-y%5D%2C%20%5B%20x%2C-y%2Bs2%5D%2C%5Cn%5Ct%5Ct%5B-x%2C%20y-s2%5D%2C%20%5B-x%2C%20y%5D%2C%20%5B-x%2C%20y%2Bs1%5D%2C%5Cn%5Ct%5Ct%5B%20x%2C%20y%2Bs1%5D%2C%20%5B%20x%2C%20y%5D%5Cn%5Ct%5D%3B%5Cn%5Ctrecolor(%5C%22%2399f%5C%22)%5Cn%5Ctpath_sweep(regular_ngon(n%3D3%2Cd%3D10%2Cspin%3D90)%2C%20bezpath_curve(sbez))%3B%5Cn%5Cn%5Ctrecolor(%5C%22%230bf%5C%22)%5Cn%5Cttranslate(%5B-15%2C-35%2C0%5D)%5Cn%5Ctcubetruss_corner(size%3D10%2C%20strut%3D1%2C%20h%3D1%2C%20bracing%3Dfalse%2C%20extents%3D%5B3%2C8%2C0%2C0%2C0%5D%2C%20clipthick%3D0)%3B%5Cn%5Cn%5Ctrecolor(%5C%22%23777%5C%22)%5Cn%5Ctxdistribute(24)%20%7B%5Cn%5Ct%5Ctscrew(%5C%22M12%2C70%5C%22%2C%20head%3D%5C%22hex%5C%22%2C%20anchor%3D%5C%22origin%5C%22%2C%20orient%3DBACK)%5Cn%5Ct%5Ct%5Ctattach(BOT%2CCENTER)%5Cn%5Ct%5Ct%5Ct%5Ctnut(%5C%22M12%5C%22%2C%20thickness%3D10%2C%20diameter%3D20)%3B%5Cn%5Ct%5Ctscrew(%5C%22M12%2C70%5C%22%2C%20head%3D%5C%22hex%5C%22%2C%20anchor%3D%5C%22origin%5C%22%2C%20orient%3DBACK)%5Cn%5Ct%5Ct%5Ctattach(BOT%2CCENTER)%5Cn%5Ct%5Ct%5Ct%5Ctnut(%5C%22M12%5C%22%2C%20thickness%3D10%2C%20diameter%3D20)%3B%5Cn%5Ct%7D%5Cn%7D%5Cn%22%2C%22features%22%3A%5B%22manifold%22%2C%22fast-csg%22%2C%22lazy-union%22%5D%7D%2C%22view%22%3A%7B%22layout%22%3A%7B%22mode%22%3A%22multi%22%2C%22focus%22%3Afalse%2C%22editor%22%3Atrue%2C%22viewer%22%3Atrue%2C%22customizer%22%3Afalse%7D%2C%22logs%22%3Atrue%7D%7D
2023-03-26 17:00:05 +01:00
Garth Minette
7d85a32cb5 More example fixes. 2022-03-25 21:51:51 -07:00
Adrian Mariano
00e26bfaed fixes 2022-03-24 00:18:40 -04:00
Adrian Mariano
b4b62f86dd fix broken examples 2022-03-24 00:15:25 -04:00
Garth Minette
bd3210022d Verified examples scadfiles. 2021-05-10 23:26:35 -07:00
Garth Minette
e75133d3f4 Fixed reference to gears.scad. Fixed hull3d() for small vertex counts. 2021-05-05 12:29:39 -07:00
Garth Minette
2093d730ab Corrected bezier patches example. 2021-01-19 04:51:28 -08:00
Garth Minette
4a25761b9a Added BOSL2 logo example. 2020-12-09 23:44:22 -08:00
Revar Desmera
53c1e25395 Standardize indention on spaces, not tabs. 2020-05-29 19:04:34 -07:00
Revar Desmera
86e4e3d892 Fixed stale ref to rounded_prismoid() 2020-05-23 17:57:48 -07:00
Revar Desmera
a5fb810738 Refactored various bezier routines to use fast bezier point generation. 2020-05-13 01:09:11 -07:00
Revar Desmera
ff96db86d2 Removed overrides for square() and circle() builtin modules. 2020-04-25 04:00:16 -07:00
Revar Desmera
618d0557ca Added a few demos. 2020-03-28 20:51:06 -07:00
Revar Desmera
00f69ba95b Removed translate_points(), scale_points(), rotate_points2d() and rotate_points3d() 2020-03-22 05:11:19 -07:00
Revar Desmera
c78eade2f2 Added initial Fractal Tree demo tutorial. Still need to gen images. 2020-03-22 01:14:26 -07:00
Revar Desmera
9f3cf44f91 Optimized bezier_patch() 2020-03-20 14:27:11 -07:00
Revar Desmera
97663dd6a3 Fixed fractal_tree.scad for attachable() refactoring. 2020-03-09 21:16:26 -07:00
Revar Desmera
6651e1be42 Renamed orient_and_anchor() to attachable() and refactored arguments and internals. 2020-02-29 13:16:15 -08:00
Revar Desmera
fa055e9469 Tweaked move(), rot(), scale(), etc to handle bezier patches and VNF structures. Added mirror() and skew_XX() functions. 2019-12-04 02:24:34 -08:00
Revar Desmera
5cca83958f gaussian_rand() -> gaussian_rands(), log_rand() -> log_rands() 2019-11-06 22:19:19 -08:00
Revar Desmera
31ef6c1389 Removed redundant [xyz]ring() 2019-07-17 18:37:16 -07:00
Revar Desmera
3eb39d0018 Changed close argument of stroke() to closed. 2019-07-12 13:11:13 -07:00
Revar Desmera
2f6671e56d Long overdue path and bezier function and module name cleanups. 2019-06-24 00:32:13 -07:00
Revar Desmera
790f08c143 Removed transparent() references 2019-06-21 17:36:38 -07:00
Revar Desmera
72bb408c4e Tweak to boolean geometry example code. 2019-06-17 23:46:20 -07:00
Revar Desmera
855256641d Improved boolean geometry example. 2019-06-17 22:24:36 -07:00
Revar Desmera
fea4a6b6ca Fixed unmerged adjacent polygons in boolean geometry. 2019-06-17 21:44:50 -07:00
Revar Desmera
01a52cdac4 Fixed bezier patch functions to all accept mixes of triangular and rectangular patches in the patches list, instead of having separate tris arguments. 2019-05-28 14:50:20 -07:00
Revar Desmera
3180704da4 Updated continuous rounding patches. 2019-05-28 03:29:43 -07:00
Revar Desmera
16919f39c3 Reworked orientation to use vectors. Added spin. 2019-05-25 23:31:05 -07:00
Revar Desmera
88ea4c94d9 Fixed and simplified anchoring. 2019-05-17 14:41:45 -07:00
Revar Desmera
c3b81ce27f Updated attachment examples. 2019-04-26 02:15:53 -07:00
Revar Desmera
5a16152416 Renamed align to anchor. 2019-04-22 20:55:03 -07:00
Revar Desmera
597d74fcc8 Make fractal tree more natural looking. 2019-04-22 01:30:31 -07:00
Revar Desmera
7e1598d66d Fixed corner and top/bottom edge orientations. 2019-04-22 01:08:41 -07:00
Revar Desmera
a46ea27fca Changed all BOSL references to BOSL2. 2019-04-18 23:45:46 -07:00
Revar Desmera
6f342f450f First pass at attachments support. 2019-04-16 19:16:50 -07:00
Revar Desmera
015c34d637 Large optimization to select() 2019-03-30 22:39:44 -07:00
Revar Desmera
55a797b9b9 Fixed the inverted faces in the bezier patch example. 2019-03-30 17:20:09 -07:00
Revar Desmera
9ffa7815d1 Corrected times in comments of bezier patch example. 2019-03-30 16:10:27 -07:00
Revar Desmera
d0595fb132 Quadrupled bezier patch speed. 2019-03-30 15:44:36 -07:00
Revar Desmera
78bed71c36
Delete orientations.json 2019-03-27 03:09:47 -07:00
Revar Desmera
9a3c25d3d3 Massive reworking of documentation production. 2019-03-22 21:13:18 -07:00