mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-13 10:14:41 +02:00
add deprecated message
This commit is contained in:
@@ -12,6 +12,7 @@ use <__comm__/__frags.scad>;
|
|||||||
|
|
||||||
function circle_path(radius, n) =
|
function circle_path(radius, n) =
|
||||||
let(
|
let(
|
||||||
|
_ = echo("<b><i>circle_path</i> is deprecated: use <i>shape_circle</i> instead.</b>"),
|
||||||
_frags = __frags(radius),
|
_frags = __frags(radius),
|
||||||
step_a = 360 / _frags,
|
step_a = 360 / _frags,
|
||||||
end_a = 360 - step_a * ((is_undef(n) || n > _frags) ? 1 : _frags - n + 1)
|
end_a = 360 - step_a * ((is_undef(n) || n > _frags) ? 1 : _frags - n + 1)
|
||||||
|
@@ -11,6 +11,7 @@
|
|||||||
use <util/reverse.scad>;
|
use <util/reverse.scad>;
|
||||||
|
|
||||||
module polysections(sections, triangles = "SOLID") {
|
module polysections(sections, triangles = "SOLID") {
|
||||||
|
echo("<b><i>polysections</i> is deprecated: use <i>sweep</i> instead.</b>");
|
||||||
|
|
||||||
function side_indexes(sects, begin_idx = 0) =
|
function side_indexes(sects, begin_idx = 0) =
|
||||||
let(
|
let(
|
||||||
|
@@ -10,4 +10,6 @@
|
|||||||
|
|
||||||
use <_impl/_rotate_p_impl.scad>;
|
use <_impl/_rotate_p_impl.scad>;
|
||||||
|
|
||||||
function rotate_p(point, a, v) = _rotate_p_impl(point, a, v);
|
function rotate_p(point, a, v) =
|
||||||
|
let(_ = echo("<b><i>rotate_p</i> is deprecated: use <i>ptf_rotate</i> instead.</b>"))
|
||||||
|
_rotate_p_impl(point, a, v);
|
Reference in New Issue
Block a user