mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-06 05:24:01 -06:00
Ported is_solid() and is_bridge() to XS. Also ported (but not used yet) group() to SurfaceCollection::group()
This commit is contained in:
parent
de9d5403e8
commit
878d587196
6 changed files with 68 additions and 22 deletions
|
@ -8,6 +8,21 @@ Surface::area() const
|
|||
return this->expolygon.area();
|
||||
}
|
||||
|
||||
bool
|
||||
Surface::is_solid() const
|
||||
{
|
||||
return this->surface_type == stTop
|
||||
|| this->surface_type == stBottom
|
||||
|| this->surface_type == stInternalSolid;
|
||||
}
|
||||
|
||||
bool
|
||||
Surface::is_bridge() const
|
||||
{
|
||||
return this->surface_type == stBottom
|
||||
|| this->surface_type == stInternalBridge;
|
||||
}
|
||||
|
||||
#ifdef SLIC3RXS
|
||||
SV*
|
||||
Surface::to_SV_ref() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue