Skip to content

truck_shapeops::ShapeOpsCurve not implemented for truck_stepio types Curve3D and Surface #91

@GamingLiamStudios

Description

@GamingLiamStudios

I'm trying to make an inverse solid of an imported Step object, so that voids in the object within the bounding box become their own solids, and the solid.not function only inverts the normals.
However if I try to do an and with a solid of the bounding box of the object, I get this error:

the trait bound `truck_stepio::r#in::step_geometry::Curve3D: truck_shapeops::ShapeOpsCurve<truck_stepio::r#in::step_geometry::Surface>` is not satisfied
the trait `std::convert::From<truck_modeling::IntersectionCurve<truck_modeling::BSplineCurve<truck_modeling::cgmath::Point3<f64>>, truck_stepio::r#in::step_geometry::Surface, truck_stepio::r#in::step_geometry::Surface>>` is not implemented for `truck_stepio::r#in::step_geometry::Curve3D`
the following other types implement trait `std::convert::From<T>`:
  `truck_stepio::r#in::step_geometry::Curve3D` implements `std::convert::From<truck_modeling::BSplineCurve<truck_modeling::cgmath::Point3<f64>>>`
  `truck_stepio::r#in::step_geometry::Curve3D` implements `std::convert::From<truck_modeling::Line<truck_modeling::cgmath::Point3<f64>>>`
  `truck_stepio::r#in::step_geometry::Curve3D` implements `std::convert::From<truck_modeling::NurbsCurve<truck_modeling::cgmath::Vector4<f64>>>`
  `truck_stepio::r#in::step_geometry::Curve3D` implements `std::convert::From<truck_modeling::PCurve<std::boxed::Box<truck_stepio::r#in::step_geometry::Curve2D>, std::boxed::Box<truck_stepio::r#in::step_geometry::Surface>>>`
  `truck_stepio::r#in::step_geometry::Curve3D` implements `std::convert::From<truck_modeling::PCurve<truck_modeling::Line<truck_modeling::cgmath::Point2<f64>>, truck_stepio::r#in::step_geometry::Surface>>`
  `truck_stepio::r#in::step_geometry::Curve3D` implements `std::convert::From<truck_modeling::PolylineCurve<truck_modeling::cgmath::Point3<f64>>>`
  `truck_stepio::r#in::step_geometry::Curve3D` implements `std::convert::From<truck_stepio::r#in::step_geometry::Conic3D>`
required for `truck_stepio::r#in::step_geometry::Curve3D` to implement `truck_shapeops::ShapeOpsCurve<truck_stepio::r#in::step_geometry::Surface>`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions