st-tech / st-tech/ppf-contact-solver

[Feature] pleats

Open
#45 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

deployed enhancement worked
Dominant language
Python
Stars
4.5k
Forks
334
PR merge metrics
No merged PRs in 30d

Description

Motivation

pleats would be a great addition to the ppf solver, given that zozo is a fashion company, one could assume that pleats would be integral to the solver, but if not that's alright! i just thought it would be a great additon

Proposal

a pleats option to add to selected edges, aswell as a pleating angle (similar to marvelous designer pleats feature)

EDIT:

on my attempt to create pleats: i tried to achieve pleats by using edge sewing (screenshot below), however, when simulating, the cloth seems to want to disperse and not hold a shape, i believe this is because i've disabled gravity, but if i don't, and instead use pins, the sewing won't happen.

Image

cloth behaviour (gravity disabled, no pins, sewing on the uppermost vertices)

https://github.com/user-attachments/assets/3751861e-4868-4d98-9d07-8e0b86c9c417

side view

https://github.com/user-attachments/assets/33a8e5fd-dd99-4512-b6d6-a857339e7814

Alternatives Considered

No response

Additional Context

No response

Contribution Agreement
  • I confirm that any code, patches, scripts, attachments, or other copyrightable material I include in this issue may be used, reproduced, modified, and distributed by this project under the Apache License 2.0 or as otherwise described in CONTRIBUTING.md.
  • This is a feature request from the community (please provide a reference below).
Community Reference

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not name any files, tests, or entry points. Start by tracing the cloth and edge-sewing behavior in the solver, then compare it with the requested selected-edge pleats and pleating angle. Done should include a defined pleats behavior that holds its shape during simulation, with tests or an example covering the relevant gravity and pin configurations.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-graphics
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.