Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions src/data/site.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,20 @@ export const channels = [
];

export const KOFI_URL = 'https://ko-fi.com/partbuddy';
// Tested SolidCraft build (a pre-release); SolidCraft's "Latest" is still 0.30.1, so link the tag itself.
export const SOLIDCRAFT = { version: '0.40.0-rc.3', url: 'https://github.com/tangency-labs/solidcraft/releases/tag/v0.40.0-rc.3' };
// The SolidCraft version the app is developed against, read at build time from RECOMMENDED_VERSION in the
// app's engineVersion.ts on main, so the site never names an outdated one; offline the last known value.
// Link the tag itself: SolidCraft's "Latest" can be newer than what PartBuddy has been tested with.
const ENGINE_VERSION = 'https://raw.githubusercontent.com/PartBuddy/partbuddy/main/apps/desktop/src/main/solidcraft/engineVersion.ts';
const solidcraftVersion = await fetch(ENGINE_VERSION, { signal: AbortSignal.timeout(8000) })
.then(async (res) => {
if (!res.ok) throw new Error(`HTTP ${res.status}`);
const v = /RECOMMENDED_VERSION = '([^']+)'/.exec(await res.text())?.[1];
if (!v) throw new Error('no RECOMMENDED_VERSION');
console.info(`[solidcraft] ${v} from the app`);
return v;
})
.catch((e) => {
console.warn(`[solidcraft] ${(e as Error).message}; using 0.40.1`);
return '0.40.1';
});
export const SOLIDCRAFT = { version: solidcraftVersion, url: `https://github.com/tangency-labs/solidcraft/releases/tag/v${solidcraftVersion}` };
2 changes: 1 addition & 1 deletion src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const faq = [
{ q: 'Does it do supports and print orientation?', a: ['No, on purpose. That is slicer work, and your slicer knows your printer profile. PartBuddy designs the part, checks what can only be decided while designing, and opens it in Bambu Studio or OrcaSlicer.'] },
{ q: 'Does it run only on Windows?', a: ['Yes. PartBuddy is a Windows desktop app.'] },
{ q: 'What is SolidCraft?', a: ['The CAD engine behind PartBuddy. It builds the geometry; PartBuddy runs it in the background and shows every step in its own 3D view. You install SolidCraft yourself, and the setup on first start helps you find it.'] },
{ q: 'Which SolidCraft version do I need?', a: [`SolidCraft ${SOLIDCRAFT.version}, a pre-release. Download SolidCraft-${SOLIDCRAFT.version}-windows-x64.exe from <a href="${SOLIDCRAFT.url}">its release page</a>; the release marked “Latest” on SolidCraft’s GitHub page is still the older 0.30.1.`, `The older SolidCraft 0.30.1 starts too, but PartBuddy is only tested with ${SOLIDCRAFT.version}, and 0.30.1 can’t open designs saved by 0.40.`] },
{ q: 'Which SolidCraft version do I need?', a: [`SolidCraft ${SOLIDCRAFT.version}. Download SolidCraft-${SOLIDCRAFT.version}-windows-x64.exe from <a href="${SOLIDCRAFT.url}">its release page</a>. The release marked “Latest” on SolidCraft’s GitHub page can be newer than the version PartBuddy is tested with.`, `Versions before 0.40 can’t open designs saved by 0.40, and the next PartBuddy release no longer starts with them.`] },
{ q: 'Why not connect Claude or ChatGPT to SolidCraft directly?', a: ['You can: SolidCraft has its own MCP server, and PartBuddy drives the same engine. What PartBuddy adds is everything around it.', 'It asks about loads, fits and real sizes and shows a plan before it builds. It checks every change against your printer and material. ISO fasteners, inserts and fits measured on your printer are built in. You click a face and pin a note to it, so the assistant knows exactly which face you mean, even after a rebuild.', 'The assistant works only through PartBuddy’s checks and only in your project folder. Every step can be taken back, versions can be compared, and the part goes straight to your slicer. And there is nothing to configure: sign in with your plan and start.'] },
...(RELEASED ? [{ q: 'Why does Windows warn about the installer?', a: ['PartBuddy is a hobby project and its installer is not code-signed, so Windows SmartScreen may show a warning. Choose More info, then Run anyway. The source code is public.'] }] : []),
];
Expand Down
Loading