ํ๋ซํผ ์ ๋ณด
CADBase ํ๋ซํผ์ 3D ๋ชจ๋ธ ๋ฐ ๋๋ฉด๊ณผ ๊ฐ์ ์์ง๋์ด๋ง ๋ฐ์ดํฐ๋ฅผ ๊ฒ์, ์ ์ฅ ๋ฐ ๋ฒ์ ๊ด๋ฆฌํ๊ธฐ ์ํ ์์คํ
์ ์ ๊ณตํฉ๋๋ค.
์ด ํ๋ซํผ์ ์ด๋ฆ์ CAD(์บ๋)์ Base(๋ฒ ์ด์ค)๋ผ๋ ๋ ๋จ์ด๋ฅผ ํฉ์น ๊ฒ์ผ๋ก, ํต์์ ์ผ๋ก "์ปดํจํฐ ์ง์ ์ค๊ณ ์์คํ
์ ์ํ ๋ฐ์ดํฐ๋ฒ ์ด์ค"๋ฅผ ์๋ฏธํฉ๋๋ค.
์ด ํ๋ซํผ์ ์น์ฌ์ดํธ์๋ STL ํ์ผ ๋ทฐ์ด๊ฐ ์์ผ๋ฉฐ, STEP ํ์์ ํ์ผ์ ๋ํ ์ง์๋ ์ถ๊ฐํ ๊ณํ์
๋๋ค.
ํ๋ซํผ ๋ด์์ "๊ตฌ์ฑ ์์"๋ ํต์ฌ ๊ฐ์ฒด์ด๋ฉฐ ๋ค์ ์ ๋ณด๋ฅผ ํฌํจํฉ๋๋ค.
- ๋งค๊ฐ๋ณ์(์์ฑ) ๋ฐ ๊ตฌ์ฑ ์์ ํ์ผ
- ํ์ผ ๋ฐ ๋งค๊ฐ๋ณ์๋ฅผ ์ฌ์ฉํ ๊ตฌ์ฑ ์์ ์์
- ๊ตฌ์ฑ ์์ ์์ ๋ด์์ ํ์ผ์ ๊ทธ๋ฃนํํ๊ธฐ ์ํ ํ์ผ ์ธํธ
- ๊ตฌ์ฑ ์์ ๊ด๋ จ ํ์ค(ํ๋ซํผ์ ๊ฒ์๋จ)
- ํด๋น ๊ตฌ์ฑ์์์ ์ ์กฐ์ ์ฒด ๋๋ ๊ณต๊ธ์ ์ฒด์ ๋ํ ์ ๋ณด
- ๊ตฌ์ฑ ์์ ๊ด๋ จ ๋๋ ํ ๋ฆฌ
- ํค์๋(ํ๊ทธ).
๋ณ๊ฒฝ ์ฌํญ
์น์ฌ์ดํธ ์ ๋ฐ์ดํธ
์ด์ ๋ด์ค ์ดํ, ํ๋ซํผ ์น์ฌ์ดํธ๋ ๋ค์๊ณผ ๊ฐ์ ๋ณ๊ฒฝ ์ฌํญ์ ๋ฐ์์ต๋๋ค.
- ๊ตฌ์ฑ์์์ ๋ํ ๊ฒ์์ฐฝ์ ์ถ๊ฐํ์ต๋๋ค(ํ์ด์ง ์๋จ);
- ํ์ผ ์ ๋ณด์ ๋ณ๊ฒฝ ๋ฉ์์ง๋ฅผ ํ์ํ๋ ๊ธฐ๋ฅ์ ์ถ๊ฐํ์ต๋๋ค(ํ์ผ์ ๋ก๋ํ ๋ ํ์๋จ)
- ๊ฐ์ฒด ์ค๋ช ๊ณผ ๋งค๊ฐ๋ณ์ ์ด๋ฆ์ ๋ํ ๋งํฌ๋ค์ด ์ง์์ด ์ถ๊ฐ๋์์ต๋๋ค.
- ๊ตฌ์ฑ ์์ ํ์ด์ง์ ๋ชฉ๋ก์ ๋ํ ํ์ด์ง ๋งค๊น์ ์ถ๊ฐํ์ต๋๋ค: ์์ ์ฌํญ, ๋งค๊ฐ๋ณ์, ํ์ค ๋ฐ ๊ตฌ์ฑ ์์ ๊ณต๊ธ์ ์ฒด;
- ์คํ๋ ๋์ํธ์์ ์์ ์ด๋ฆ๊ณผ ๋งค๊ฐ๋ณ์๋ฅผ ๊ฐ์ ธ์ค๋ ๊ธฐ๋ฅ์ด ๊ตฌํ๋์์ต๋๋ค(๋ณต์ฌ-๋ถ์ฌ๋ฃ๊ธฐ).
ํตํฉ ์ ๋ฐ์ดํธ
๋ฌผ๋ก , ํ๋ซํผ ์ ๋ฐ์ดํธ์ ํจ๊ป ์ํฌ๋ฒค์น์ ์๋ก์ด ๋ฒ์ ๋ ์ถ์๋์์ต๋๋ค. CADBase ๋ผ์ด๋ธ๋ฌ๋ฆฌ(GitHub) FreeCAD(2.0.0) ๋ฐ ์ ๋์จ์ฉ CADBase ๋ผ์ด๋ธ๋ฌ๋ฆฌ(Blender ํ์ฅ) Blender 3D(0.2.0)์ฉ์ ๋๋ค. ์๋ก์ด ๋ฒ์ ์๋ ๋ค์๊ณผ ๊ฐ์ ํ์ ์ด ํฌํจ๋์์ต๋๋ค.
- ์ ์ถํ๊ธฐ ์ ์ ๋ณ๊ฒฝ ์ฌํญ์ ๋ฏธ๋ฆฌ ํ์ธํ์ธ์.
- ๋ณ๊ฒฝ ์ฌํญ์ ๋ํ ๊ฐ๋ตํ ์ ๋ณด๋ฅผ ์ ๊ณตํ๋ ๋ฉ์์ง ์ง์
- ํด์ ๊ณ์ฐ ํ์ธ ๋ฐ ๊ฐ์ ์ ๋ฐ์ดํธ๋ฅผ ๋นํ์ฑํํ๋ ์ค์ ;
- ๋ก์ปฌ์์ ๋๋ฝ๋ ํ์ผ์ ํ๋ซํผ ์คํ ๋ฆฌ์ง(ํด๋ผ์ฐ๋)์์ ์ญ์ ๋ฉ๋๋ค.
API ์ ๋ฐ์ดํธ
๊ตฌ์ฑ ์์ ์์ฒญ์์ (https://docs.cadbase.rs/#query-component) ๊ตฌ์ฑ ์์์ ๊ด๋ จ๋ ๊ฐ์ฒด๋ฅผ ์ถ๊ฐํ์ต๋๋ค. ๋ฐ์ดํฐ ์ ๋ ฌ ๋ฐ ํ์ด์ง ๊ตฌ๋ถ ๊ธฐ๋ฅ์ด ํ์ฅ๋์์ต๋๋ค. ์๋ฅผ ๋ค์ด, ๊ตฌ์ฑ ์์ ๋ฐ ๊ตฌ์ฑ ์์ ์์ ์ ๊ฒฝ์ฐ ํ์ด์ง ๋๋๊ธฐ ์ธ์๋ name(์ด๋ฆ), actualStatusId(์ํ ์๋ณ์), createdAt(์์ฑ ๋ ์ง), updatedAt(์
๋ฐ์ดํธ ๋ ์ง) ๋ฑ์ ํ๋๋ฅผ ๊ธฐ์ค์ผ๋ก ์ ๋ ฌ์ ์ ์ํ ์ ์์ต๋๋ค.
์ด๋ฅผ ํตํด ํ ๋ฒ์ ์์ฒญ์ผ๋ก ๊ตฌ์ฑ ์์์ ๋ํ ์์ ํ ์ ๋ณด๋ฅผ ์ป์ ์ ์๊ฒ ๋์์ต๋๋ค. GraphQL API ๊ธฐ๋ฅ์ ์ฌ์ฉํ๋ฉด ํ์ํ ํ๋๋ง ์์ฒญํ ์ ์์ผ๋ฏ๋ก ๋คํธ์ํฌ๋ฅผ ํตํด ๋ถํ์ํ ๋ฐ์ดํฐ๋ฅผ ์ ์กํ ํ์๊ฐ ์์ต๋๋ค.
๊ตฌ์ฑ ์์์ ๊ด๋ จ ๊ฐ์ฒด์ ๋ชจ๋ ํ๋๋ฅผ ์ฟผ๋ฆฌํฉ๋๋ค(์ฌ๋ฌ ์ค):
์ฟผ๋ฆฌ Component($componentUuid: UUID!) { component(componentUuid: $componentUuid) { uuid parentComponentUuid ์ด๋ฆ ์ค๋ช imageFile { uuid ํด์ ํ์ผ ์ด๋ฆ ํ์ผ ํฌ๊ธฐ downloadUrl } ownerUser { uuid ์ด๋ฆ ์ฑ ์ฌ์ฉ์ ์ด๋ฆ imageFile { โฆDownloadFileFragment } } typeAccess { typeAccessId langId ์ด๋ฆ } componentType { componentTypeId langId componentType } actualStatus { actualStatusId langId ์ด๋ฆ } isBase ๊ตฌ๋ ์ isFollowed createdAt updatedAt licenses { id ์ด๋ฆ ํค์๋ publicationAt } componentParams { componentUuid ๋งค๊ฐ๋ณ์ { โฆParamTranslateListFragment } ๊ฐ } ๋งค๊ฐ๋ณ์ ๊ฐ์ ํ์ผ { uuid ํ์ผ ์ด๋ฆ ๊ฐ์ commitMsg parentFileUuid ownerUser { โฆShowUserShortFragment } contentType ํ์ผ ํฌ๊ธฐ ํ๋ก๊ทธ๋จ { โฆProgramFragment } ํด์ downloadUrl createdAt updatedAt } ํ์ผ ์ componentSpecs { specId langId spec } componentKeywords { id keyword } componentModifications { uuid componentUuid parentModificationUuid modificationName description actualStatus { โฆActualStatusTranslateListFragment } createdAt updatedAt filesetsForProgram { โฆFilesetProgramRelatedDataFragment } ํ์ผ ์ modificationParams { โฆModificationParamWithTranslationFragment } paramsCount ํ์ผ { โฆShowFileRelatedDataFragment } ํ์ผ ์ } modificationsCount componentSuppliers { supplier { โฆSlimCompanyFragment } componentUuid description } suppliersCount componentStandards { uuid ๋ถ๋ฅ์ ์ด๋ฆ ์ค๋ช specifiedTolerance publicationAt imageFile { โฆDownloadFileFragment } ownerCompany { โฆShowCompanyShortFragment } standardStatus { โฆStandardStatusTranslateListFragment } updatedAt isFollowed } standardsCount } }
ํ๋ซํผ์ ๋ํ ์ด์ ๋ด์ค
10.02.22 CADBase - 3D ๋ชจ๋ธ ๋ฐ ๋๋ฉด ๊ตํ์ ์ํ ๋์งํธ ํ๋ซํผ
10.02.23 CADBase - ๋๋ฉด ์ ์ฅ ๋ฐ ๊ตํ ์ฌ์ดํธ
06.11.23 ์ค๊ณ๋ฐ์ดํฐ ๊ตํ์ ์ํ CADBase ํ๋ซํผ ์
๋ฐ์ดํธ
์ถ์ฒ : linux.org.ru
