mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 14:23:53 +00:00
Remove all references to _newclass from wrapper code
This commit is contained in:
@@ -197,7 +197,6 @@ struct ShapeRTTI : public boost::static_visitor<PyObject*>
|
|||||||
|
|
||||||
%extend IfcGeom::Representation::Triangulation {
|
%extend IfcGeom::Representation::Triangulation {
|
||||||
%pythoncode %{
|
%pythoncode %{
|
||||||
if _newclass:
|
|
||||||
# Hide the getters with read-only property implementations
|
# Hide the getters with read-only property implementations
|
||||||
id = property(id)
|
id = property(id)
|
||||||
faces = property(faces)
|
faces = property(faces)
|
||||||
@@ -211,7 +210,6 @@ struct ShapeRTTI : public boost::static_visitor<PyObject*>
|
|||||||
// would appear before templated getter functions are defined.
|
// would appear before templated getter functions are defined.
|
||||||
%extend IfcGeom::Representation::Triangulation<float> {
|
%extend IfcGeom::Representation::Triangulation<float> {
|
||||||
%pythoncode %{
|
%pythoncode %{
|
||||||
if _newclass:
|
|
||||||
# Hide the getters with read-only property implementations
|
# Hide the getters with read-only property implementations
|
||||||
verts = property(verts)
|
verts = property(verts)
|
||||||
normals = property(normals)
|
normals = property(normals)
|
||||||
@@ -219,7 +217,6 @@ struct ShapeRTTI : public boost::static_visitor<PyObject*>
|
|||||||
};
|
};
|
||||||
%extend IfcGeom::Representation::Triangulation<double> {
|
%extend IfcGeom::Representation::Triangulation<double> {
|
||||||
%pythoncode %{
|
%pythoncode %{
|
||||||
if _newclass:
|
|
||||||
# Hide the getters with read-only property implementations
|
# Hide the getters with read-only property implementations
|
||||||
verts = property(verts)
|
verts = property(verts)
|
||||||
normals = property(normals)
|
normals = property(normals)
|
||||||
@@ -228,7 +225,6 @@ struct ShapeRTTI : public boost::static_visitor<PyObject*>
|
|||||||
|
|
||||||
%extend IfcGeom::Representation::Serialization {
|
%extend IfcGeom::Representation::Serialization {
|
||||||
%pythoncode %{
|
%pythoncode %{
|
||||||
if _newclass:
|
|
||||||
# Hide the getters with read-only property implementations
|
# Hide the getters with read-only property implementations
|
||||||
id = property(id)
|
id = property(id)
|
||||||
brep_data = property(brep_data)
|
brep_data = property(brep_data)
|
||||||
@@ -238,7 +234,6 @@ struct ShapeRTTI : public boost::static_visitor<PyObject*>
|
|||||||
|
|
||||||
%extend IfcGeom::Element {
|
%extend IfcGeom::Element {
|
||||||
%pythoncode %{
|
%pythoncode %{
|
||||||
if _newclass:
|
|
||||||
# Hide the getters with read-only property implementations
|
# Hide the getters with read-only property implementations
|
||||||
id = property(id)
|
id = property(id)
|
||||||
parent_id = property(parent_id)
|
parent_id = property(parent_id)
|
||||||
@@ -253,7 +248,6 @@ struct ShapeRTTI : public boost::static_visitor<PyObject*>
|
|||||||
|
|
||||||
%extend IfcGeom::TriangulationElement {
|
%extend IfcGeom::TriangulationElement {
|
||||||
%pythoncode %{
|
%pythoncode %{
|
||||||
if _newclass:
|
|
||||||
# Hide the getters with read-only property implementations
|
# Hide the getters with read-only property implementations
|
||||||
geometry = property(geometry)
|
geometry = property(geometry)
|
||||||
%}
|
%}
|
||||||
@@ -261,7 +255,6 @@ struct ShapeRTTI : public boost::static_visitor<PyObject*>
|
|||||||
|
|
||||||
%extend IfcGeom::SerializedElement {
|
%extend IfcGeom::SerializedElement {
|
||||||
%pythoncode %{
|
%pythoncode %{
|
||||||
if _newclass:
|
|
||||||
# Hide the getters with read-only property implementations
|
# Hide the getters with read-only property implementations
|
||||||
geometry = property(geometry)
|
geometry = property(geometry)
|
||||||
%}
|
%}
|
||||||
@@ -269,7 +262,6 @@ struct ShapeRTTI : public boost::static_visitor<PyObject*>
|
|||||||
|
|
||||||
%extend IfcGeom::Material {
|
%extend IfcGeom::Material {
|
||||||
%pythoncode %{
|
%pythoncode %{
|
||||||
if _newclass:
|
|
||||||
# Hide the getters with read-only property implementations
|
# Hide the getters with read-only property implementations
|
||||||
has_diffuse = property(hasDiffuse)
|
has_diffuse = property(hasDiffuse)
|
||||||
has_specular = property(hasSpecular)
|
has_specular = property(hasSpecular)
|
||||||
@@ -285,7 +277,6 @@ struct ShapeRTTI : public boost::static_visitor<PyObject*>
|
|||||||
|
|
||||||
%extend IfcGeom::Transformation {
|
%extend IfcGeom::Transformation {
|
||||||
%pythoncode %{
|
%pythoncode %{
|
||||||
if _newclass:
|
|
||||||
# Hide the getters with read-only property implementations
|
# Hide the getters with read-only property implementations
|
||||||
matrix = property(matrix)
|
matrix = property(matrix)
|
||||||
%}
|
%}
|
||||||
@@ -293,7 +284,6 @@ struct ShapeRTTI : public boost::static_visitor<PyObject*>
|
|||||||
|
|
||||||
%extend IfcGeom::Matrix {
|
%extend IfcGeom::Matrix {
|
||||||
%pythoncode %{
|
%pythoncode %{
|
||||||
if _newclass:
|
|
||||||
# Hide the getters with read-only property implementations
|
# Hide the getters with read-only property implementations
|
||||||
data = property(data)
|
data = property(data)
|
||||||
%}
|
%}
|
||||||
|
|||||||
@@ -99,7 +99,6 @@ private:
|
|||||||
}
|
}
|
||||||
|
|
||||||
%pythoncode %{
|
%pythoncode %{
|
||||||
if _newclass:
|
|
||||||
# Hide the getters with read-only property implementations
|
# Hide the getters with read-only property implementations
|
||||||
header = property(header)
|
header = property(header)
|
||||||
%}
|
%}
|
||||||
@@ -346,7 +345,6 @@ private:
|
|||||||
|
|
||||||
%extend IfcParse::IfcSpfHeader {
|
%extend IfcParse::IfcSpfHeader {
|
||||||
%pythoncode %{
|
%pythoncode %{
|
||||||
if _newclass:
|
|
||||||
# Hide the getters with read-only property implementations
|
# Hide the getters with read-only property implementations
|
||||||
file_description = property(file_description)
|
file_description = property(file_description)
|
||||||
file_name = property(file_name)
|
file_name = property(file_name)
|
||||||
@@ -356,7 +354,6 @@ private:
|
|||||||
|
|
||||||
%extend IfcParse::FileDescription {
|
%extend IfcParse::FileDescription {
|
||||||
%pythoncode %{
|
%pythoncode %{
|
||||||
if _newclass:
|
|
||||||
# Hide the getters with read-write property implementations
|
# Hide the getters with read-write property implementations
|
||||||
__swig_getmethods__["description"] = description
|
__swig_getmethods__["description"] = description
|
||||||
__swig_setmethods__["description"] = description
|
__swig_setmethods__["description"] = description
|
||||||
@@ -369,7 +366,6 @@ private:
|
|||||||
|
|
||||||
%extend IfcParse::FileName {
|
%extend IfcParse::FileName {
|
||||||
%pythoncode %{
|
%pythoncode %{
|
||||||
if _newclass:
|
|
||||||
# Hide the getters with read-write property implementations
|
# Hide the getters with read-write property implementations
|
||||||
__swig_getmethods__["name"] = name
|
__swig_getmethods__["name"] = name
|
||||||
__swig_setmethods__["name"] = name
|
__swig_setmethods__["name"] = name
|
||||||
@@ -397,7 +393,6 @@ private:
|
|||||||
|
|
||||||
%extend IfcParse::FileSchema {
|
%extend IfcParse::FileSchema {
|
||||||
%pythoncode %{
|
%pythoncode %{
|
||||||
if _newclass:
|
|
||||||
# Hide the getters with read-write property implementations
|
# Hide the getters with read-write property implementations
|
||||||
__swig_getmethods__["schema_identifiers"] = schema_identifiers
|
__swig_getmethods__["schema_identifiers"] = schema_identifiers
|
||||||
__swig_setmethods__["schema_identifiers"] = schema_identifiers
|
__swig_setmethods__["schema_identifiers"] = schema_identifiers
|
||||||
|
|||||||
Reference in New Issue
Block a user