mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-01-17 06:08:31 +01:00
deprecated
This commit is contained in:
parent
7a8c152607
commit
9577f68d13
@ -9,6 +9,8 @@
|
||||
**/
|
||||
|
||||
module hull_polyline2d(points, width = 1) {
|
||||
echo("`hull_polyline2d` is deprecated since 3.2. Use `polyline_join` instead.");
|
||||
|
||||
half_width = width / 2;
|
||||
leng = len(points);
|
||||
|
||||
|
@ -9,6 +9,8 @@
|
||||
**/
|
||||
|
||||
module hull_polyline3d(points, diameter = 1) {
|
||||
echo("`hull_polyline2d` is deprecated since 3.2. Use `polyline_join` instead.");
|
||||
|
||||
radius = diameter / 2;
|
||||
leng = len(points);
|
||||
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
function paths2sections(paths) =
|
||||
let(
|
||||
_ = echo("`paths2sections` is deprecated since 3.2. Use `rails2sections` instead."),
|
||||
leng_path = len(paths[0]),
|
||||
leng_paths = len(paths)
|
||||
)
|
||||
|
@ -11,4 +11,5 @@
|
||||
use <_impl/_shape_starburst_impl.scad>;
|
||||
|
||||
function shape_starburst(r1, r2, n) =
|
||||
let(_ = echo("`shape_starburst` is deprecated since 3.2. Use `shape_star` instead."))
|
||||
_shape_starburst_impl(r1, r2, n);
|
@ -9,6 +9,8 @@
|
||||
**/
|
||||
|
||||
module starburst(r1, r2, n, height) {
|
||||
echo("`starburst` is deprecated since 3.2. Use `polyhedra/star` instead.");
|
||||
|
||||
a = 180 / n;
|
||||
|
||||
p0 = [0, 0, 0];
|
||||
|
Loading…
x
Reference in New Issue
Block a user