mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-20 05:21:38 +02:00
rename
This commit is contained in:
@@ -29,7 +29,7 @@ module polyline2d(points, width, startingStyle = "CAP_SQUARE", endingStyle = "CA
|
|||||||
p1Style = p1Style, p2Style = p2Style);
|
p1Style = p1Style, p2Style = p2Style);
|
||||||
|
|
||||||
// hook for testing
|
// hook for testing
|
||||||
test_line_segment(index, p1, p2, width, p1Style, p2Style);
|
test_polyline2d_line_segment(index, p1, p2, width, p1Style, p2Style);
|
||||||
}
|
}
|
||||||
|
|
||||||
module polyline2d_inner(index) {
|
module polyline2d_inner(index) {
|
||||||
@@ -43,6 +43,6 @@ module polyline2d(points, width, startingStyle = "CAP_SQUARE", endingStyle = "CA
|
|||||||
}
|
}
|
||||||
|
|
||||||
// override it to test
|
// override it to test
|
||||||
module test_line_segment(index, point1, point2, width, p1Style, p2Style) {
|
module test_polyline2d_line_segment(index, point1, point2, width, p1Style, p2Style) {
|
||||||
|
|
||||||
}
|
}
|
@@ -57,7 +57,7 @@ module test_polyline2d() {
|
|||||||
|
|
||||||
include <polyline2d.scad>;
|
include <polyline2d.scad>;
|
||||||
|
|
||||||
module test_line_segment(index, point1, point2, width, p1Style, p2Style) {
|
module test_polyline2d_line_segment(index, point1, point2, width, p1Style, p2Style) {
|
||||||
|
|
||||||
assertCorrectSegment(index, point1, point2, width);
|
assertCorrectSegment(index, point1, point2, width);
|
||||||
assertCorrectCaps(
|
assertCorrectCaps(
|
||||||
@@ -74,7 +74,7 @@ module test_polyline2d() {
|
|||||||
|
|
||||||
include <polyline2d.scad>;
|
include <polyline2d.scad>;
|
||||||
|
|
||||||
module test_line_segment(index, point1, point2, width, p1Style, p2Style) {
|
module test_polyline2d_line_segment(index, point1, point2, width, p1Style, p2Style) {
|
||||||
|
|
||||||
assertCorrectSegment(index, point1, point2, width);
|
assertCorrectSegment(index, point1, point2, width);
|
||||||
assertCorrectCaps(
|
assertCorrectCaps(
|
||||||
@@ -95,7 +95,7 @@ module test_polyline2d() {
|
|||||||
|
|
||||||
include <polyline2d.scad>;
|
include <polyline2d.scad>;
|
||||||
|
|
||||||
module test_line_segment(index, point1, point2, width, p1Style, p2Style) {
|
module test_polyline2d_line_segment(index, point1, point2, width, p1Style, p2Style) {
|
||||||
|
|
||||||
assertCorrectSegment(index, point1, point2, width);
|
assertCorrectSegment(index, point1, point2, width);
|
||||||
assertCorrectCaps(
|
assertCorrectCaps(
|
||||||
|
Reference in New Issue
Block a user