2220 Commits

Author SHA1 Message Date
5ba5623d46 [2173] 골짜기확장라인 self-extension 모델 + TRIM/FIXPOINT-cuts off — 확장만 2026-05-27 13:58:26 +09:00
e1dbbf74de Merge branch 'dev' of https://git.hanasys.jp/qcast3/qcast-front into feature/redo-undo
# Conflicts:
#	src/components/fabric/QPolygon.js
#	src/hooks/module/useModule.js
#	src/hooks/roofcover/useEavesGableEdit.js
#	src/hooks/roofcover/useRoofAllocationSetting.js
#	src/hooks/usePlan.js
2026-05-27 10:52:46 +09:00
8d7ffdc957 [2173] KERAB-OFFSET-SURGICAL flag ON — 케라바 토글 出幅 surgical 반영 활성화 2026-05-27 10:09:52 +09:00
f5f8eb9460 [2173] 처마/케라바 토글 KERAB-SIMPLE 알고리즘 + offset-surgical helper(flag off) 2026-05-27 10:03:56 +09:00
f5758cb383 모듈 세로 가운데정렬, 가로 가운데정렬 snapshot 추가 2026-05-26 11:13:47 +09:00
b775af1911 모듈 redo undo 시 선택되어 있는것 해제 2026-05-26 10:31:08 +09:00
39f4b0130f 열이동, 단이동 시 스냅샷 저장 위치 수정 2026-05-26 10:23:25 +09:00
9a24860b1c 모듈 삭제 시 스냅샷 중복 제거 2026-05-26 10:16:31 +09:00
37a1c24667 모듈/가대 설정 undo, redo 이상 동작 수정 2026-05-20 15:30:52 +09:00
de5b9f1fb7 도머 undo redo 후 제거 하면 lengthText 남아 있는 현상 수정, 도머 이동 시 두번 계산되는 현상 수정 2026-05-20 15:10:48 +09:00
sangwook yoo
f8467879a8 Merge remote-tracking branch 'origin/dev' into claude/lucid-shaw-91e51f 2026-05-20 09:41:37 +09:00
sangwook yoo
849f7a1dc9 feat(pdf-gemini): 배치면 초기설정에 PDF 도면 업로드 옵션 추가 — Gemini 외곽선 분석
- 「배치면 초기설정」 모달 寸法入力方法 라디오에 '도면 파일 업로드' 옵션 추가
- 선택 시 PDF 파일 업로드 + 읽기 페이지 설정(전체/입면도·평면도 지정) UI 노출
- 保存 클릭 시 /api/gemini/floor-plan 호출 → 외곽선을 캔버스에 반영한 후 기존 저장 흐름 진행
- Gemini File API 업로드 + finally 파일 폐기, 정점/면적 검증, 페이지 힌트 프롬프트 주입
- usePdfImport 훅: mm→canvas 좌표 변환, CCW 정규화, 기존 외곽선 덮어쓰기 confirm 후 QLine/QPolygon 생성
- @google/generative-ai 의존성 추가, GEMINI_MODEL env 4개 환경에 동기화
- 다국어(ja/ko) 메시지 추가, .playwright-mcp/ gitignore

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-20 09:39:41 +09:00
dc857b28fa [2173] junction-extended 패턴 outer hip 제거 + strokeWidth SK와 통일
[작업내용] :
- 대전제 반영: 케라바 ridge 가 생기는 분기에서 c1·c2 에 붙은 outer hip 2개 제거
  · inner hip(junction 너머) 보존
  · __removedHipsSnapshot 첨부 → revert 시 hip 2개 자동 복원
- revert 분기에서 hip 스냅샷 + ridge 스냅샷 둘 다 순회 복원하도록 대칭 보강
- 케라바 패턴 생성 라인 strokeWidth 2 → 4 (SK 라인과 동일, 6개소)
2026-05-20 08:46:43 +09:00
eb12b24138 [2173] 처마→케라바 junction-extended 패턴 + RG-1 자동 제거
[작업내용] :
- findHipPairViaJunction: H-7/H-1 의 junction 너머 inner hip(H-4/H-2) 무한확장 교점을 apex 채택
- applyKerabJunctionExtendedPattern (순수 추가):
  · ext hip 2개(junction→apex) + 중앙 ridge(mid→apex) 추가
  · ridgeEndpointsOnBothExtensions 로 RG-1 식별 → 스냅샷 첨부 후 제거 (RG-2 보존)
- applyKerabRevertPattern: __removedRidgesSnapshot(배열) 반복 복원으로 forward 와 대칭
- useRoofAllocationSetting: 분할 직전/후 패턴 라인 진단 로그(KERAB-PATTERN-DIAG)
2026-05-19 17:12:48 +09:00
e74604d3f9 [2240] 손상 plan 좌표 가드/복원 — 로드 가드+저장 차단+복원 자동호출 2026-05-18 16:19:37 +09:00
f32f9187d1 [DB] 컬럼 길이 가드 — addressee 합산 50자 + receiveUser 20자 클립 2026-05-18 15:00:20 +09:00
eaae0f4a84 [1961] hip 라벨 정합성 — SK↔할당 일치 + 0.5 step 표시 통일 2026-05-18 12:41:55 +09:00
490ab6c49f [1961] split 길이 계산 Math.round(hypot)*10 → calcLinePlaneSize 통일 — 좌우대칭 hip 라벨 1mm 갈림 차단 2026-05-14 10:36:11 +09:00
77bca24e7c [SK-EXTENDED-PERSIST] hip __extended 플래그 save/load 보존 — attributes.extended 동기 + console→logger 2026-05-13 14:27:06 +09:00
cd95b68d96 Merge branch 'dev' of https://git.hanasys.jp/qcast3/qcast-front into hotfix/dev_yscha 2026-05-13 12:16:23 +09:00
a332737654 [RACK-TILT] removeShortEdges 직각 노치 변형 차단 — tiny edge 머지 시 axis-aligned 가드 2026-05-13 12:14:42 +09:00
4f120e6e11 [1956-RACK-TILT] 빨강 점선(가대선/モジュール配置領域) 가로/세로 축 스냅
closing edge 의 FP drift 누적(15mm/576mm ≈ 1.5°) 으로 가로/세로 라인이
기울어 보이는 문제. snapNearAxisEdges(angleTolDeg=2) 각도 기반 스냅을
4종 폴리곤(trestle/dormerTrestle/trestlePolygon/moduleSetupSurface) 에 적용.

- QPolygon.initialize name 가드: load/new 대부분 케이스 커버
- handleOuterlinesTest 끝 snap: trestlePolygon 은 makePolygon 후 .set 이라 별도

#1956 (vertical tilt, 2026-04-08) 의 horizontal 형제 케이스.
2026-05-13 10:35:16 +09:00
76a53c64d9 [1961] strict y1===y2 drift 2곳 수정 — tolerance 0.5 통일 2026-05-12 17:25:17 +09:00
55e0528c26 Merge branch 'dev' of https://git.hanasys.jp/qcast3/qcast-front into feature/redo-undo
# Conflicts:
#	src/hooks/module/useModuleBasicSetting.js
2026-05-12 10:31:50 +09:00
0e9cf938e9 지붕형상 수동설정 undo redo 안되는 현상 수정 2026-05-11 09:59:49 +09:00
2aef32e03c [2204] 0-면적 개구/그림자/도머 차단 — SizeSetting 입력 가드 + 손상 plan 로드 skip 2026-05-08 17:48:37 +09:00
a5e794b3ec [2204] 손상 plan InvalidStateError 3단 방어 (entry/cache/save guard) 2026-05-08 17:39:58 +09:00
77de97eef1 지붕형상 설정 시 undo redo 되도록 수정 2026-05-07 15:53:08 +09:00
9de3424cdf undo redo 시 지붕면 할당 안되는 현상 수정 2026-05-07 15:21:31 +09:00
dd39e6f07b 707 생기는 현상 수정 2026-05-07 14:40:20 +09:00
ce3decb61c Merge branch 'dev' of https://git.hanasys.jp/qcast3/qcast-front into feature/redo-undo 2026-05-07 14:18:42 +09:00
edf521e617 plan 이동 시 undo redo stack 제거 2026-05-07 14:18:34 +09:00
ae2ba0add5 [755] 객체 선택 시 Del/Backspace 즉시 삭제 2026-05-07 11:14:09 +09:00
80720fef2a 외벽선, 배치면 Redo undo 수정 2026-05-07 10:53:51 +09:00
2074c4aa93 Merge branch 'dev' of https://git.hanasys.jp/qcast3/qcast-front into feature/redo-undo
# Conflicts:
#	src/components/floor-plan/modal/auxiliary/AuxiliaryEdit.jsx
2026-05-07 09:53:11 +09:00
a5d2964e8e [2089] 저구배+특정기와 시공 매뉴얼 안내 confirm 추가 2026-05-06 16:44:26 +09:00
3000de9c32 동시 UPDATE 데드락 방어 — abort+latest, X-Idempotency-Key, 직렬화 - api 통신에러 2026-05-04 13:54:07 +09:00
426a72b815 Merge branch 'dev' of https://git.hanasys.jp/qcast3/qcast-front into feature/redo-undo
# Conflicts:
#	src/hooks/roofcover/useRoofAllocationSetting.js
2026-05-04 10:58:34 +09:00
376ccab8e7 라벨변경 2026-04-30 18:26:34 +09:00
c2eba138a6 innerLine 2026-04-30 17:02:16 +09:00
c221515744 동일라벨 2026-04-30 12:21:59 +09:00
645e8b344d 보조라인1 2026-04-30 11:16:19 +09:00
beeeeb32e5 마루이동 2026-04-29 18:31:14 +09:00
ca8778ba31 Merge branch 'dev' of https://git.hanasys.jp/qcast3/qcast-front into feature/redo-undo
# Conflicts:
#	src/hooks/surface/usePlacementShapeDrawing.js
2026-04-29 18:07:53 +09:00
2a7c78a927 확장자 1단계마무리 2026-04-29 18:02:14 +09:00
16eb41aab6 Merge branch 'dev' of https://git.hanasys.jp/qcast3/qcast-front into hotfix/dev_yscha 2026-04-29 17:48:12 +09:00
abee58fcae 확장자 1단계마무리 2026-04-29 17:47:46 +09:00
3f5f490884 1961, 1969, 2118 수정 2026-04-29 14:47:17 +09:00
b49e3871d5 redo undo 작업중 2026-04-28 16:12:21 +09:00
0e3acedf2d 평면도 확정 시 확인 다이얼로그 추가 (버튼/Enter 키) 2026-04-27 17:43:35 +09:00