Skip to content

Issue with Converting SVG Path to Model and Distortion Creating Multiple Models #595

Description

I am experiencing an issue with converting an SVG path to a model using the library. After distorting the base model, it creates multiple models instead of a single one. Additionally, the original endless shape becomes non-endless after distortion.
svgPath.txt

// SVG Path data added as an attachment
const svgPath =above file svgPath.txt has path;

// Convert SVG path to model
const baseModel = importer.fromSVGPathData(svgPath);

// Distort the model
let newModel = model.distort(baseModel, 0.21619089656166393, 0.21619089656166393);

Issue Details:

  1. Importing a single SVG path and creating a base model.
  2. After distortion, multiple models are created.
  3. The base model was an endless shape but becomes non-endless after distortion.

Expected Behavior:

  1. The model should remain a single entity after distortion same and the endless shape should be preserved.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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