1CAD::Format::STL::part(U3s)er Contributed Perl DocumentatCiAoDn::Format::STL::part(3)
2
3
4
6 CAD::Format::STL::part - guts of the STL object
7
9 See CAD::Format::STL
10
12 new
13 my $part = CAD::Format::STL::part->new($name, @facets);
14
15 add_facets
16 $self->add_facets(@facets);
17
18 Facets are stored with the normal vector, followed by vertices.
19 Typically, a single facet is a triangle and the normal is [0,0,0]
20 (meaning that it should be calculated by the user if needed.)
21
22 [0,0,0], [0,0,0],[0,1,0],[1,1,0]
23
25 Eric Wilhelm @ <ewilhelm at cpan dot org>
26
27 http://scratchcomputing.com/
28
30 If you found this module on CPAN, please report any bugs or feature
31 requests through the web interface at <http://rt.cpan.org>. I will be
32 notified, and then you'll automatically be notified of progress on your
33 bug as I make changes.
34
35 If you pulled this development version from my /svn/, please contact me
36 directly.
37
39 Copyright (C) 2007 Eric L. Wilhelm, All Rights Reserved.
40
42 Absolutely, positively NO WARRANTY, neither express or implied, is
43 offered with this software. You use this software at your own risk.
44 In case of loss, no person or entity owes you anything whatsoever. You
45 have been warned.
46
48 This program is free software; you can redistribute it and/or modify it
49 under the same terms as Perl itself.
50
51
52
53perl v5.30.0 2019-07-26 CAD::Format::STL::part(3)