Fix extruded shape: zero size, and self-intersecting 2D shapes

オープン
#190 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
28/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
csharp, unity
領域
game-dev

調査の方向性

The payload names no files, so start by locating the extruded shape generator and the size handling it shares with the other generators in the Chisel codebase. Done means creating an extruded shape at zero size cancels, an existing one cannot be set to zero, and a 2D shape whose edges cross extrudes into a valid brush. Coordinate the rule with the related generator issues (#184 to #189) before changing shared code.

索引モデルが issue の本文から書いたものです。

説明

Problems with the extruded shape:

  1. Zero size, while creating and after. As with the other generators, the extruded shape can be sized to zero, both while it is being created and once it exists.
  2. Self-intersecting 2D shapes aren't handled well. The extruded shape extrudes a 2D shape, and a 2D shape whose edges cross each other doesn't extrude properly.

Rule for all generators: negative sizes are allowed, and every generator builds a valid shape from them (swapping sides under the hood, so the brush is the right way out). A zero size is never allowed: creating at zero size cancels, and an existing generator can't be made zero sized.

Related: box (#184), capsule (#185), cylinder (#186), inspector values (#187), hemisphere (#188), sphere (#189).

主要言語
C#
スター
135
フォーク
15
平均マージ
24分
マージ済み PR(30日)
90

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

RadicalCSG/com.chisel のほかの issue

RadicalCSG/com.chisel の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。